Class JustificationEntry
java.lang.Object
com.aquima.interactions.rule.graph.JustificationInfo
com.aquima.interactions.rule.graph.JustificationEntry
This class holds a single justification text for an attribute, fomat and ID combination.
- Since:
- 5.1
- Author:
- O. Kerpershoek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
This member holds the default ID to be used when no ID was specified. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JustificationEntry
(String attribute, String id, String textId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected String
protected String
getId()
getJustificationTextId
(String attribute, String id) This method returns the justification text id for the specified parameters.protected String
int
hashCode()
protected boolean
isApplicableForAttribute
(String attribute) protected boolean
optimize()
This method should try to optimize the internal structure and return an optimized version of this info object.
-
Field Details
-
DEFAULT_ID
This member holds the default ID to be used when no ID was specified.- See Also:
-
-
Constructor Details
-
JustificationEntry
-
-
Method Details
-
getId
-
getAttribute
-
getTextId
-
isApplicableForAttribute
-
isApplicableForId
-
getJustificationTextId
Description copied from class:JustificationInfo
This method returns the justification text id for the specified parameters.- Specified by:
getJustificationTextId
in classJustificationInfo
- Parameters:
attribute
- The attribute for which the justification text is requested.id
- The id of the justification text that is requested.- Returns:
- the justification text for the specified parameters.
-
optimize
Description copied from class:JustificationInfo
This method should try to optimize the internal structure and return an optimized version of this info object.- Specified by:
optimize
in classJustificationInfo
- Returns:
- An optimized version of this info object.
-
hashCode
public int hashCode() -
equals
-