Package com.aquima.interactions.rule.tms
Class TmsInferenceDetails
java.lang.Object
com.aquima.interactions.rule.tms.TmsInferenceDetails
- All Implemented Interfaces:
IInferenceDetails
Contains the source information of an attribute.
- Since:
- 7.0
- Author:
- a.pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TmsInferenceDetails
(SourceType sourceType, ValueReference[] usedValues, ValueReference[] dependentValues, String ruleName, String justificationId) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns an array containing the references to the attribute values that used this value, corresponding with this details object, to determine their own value.This method returns the ID of the justification text that the rule who sourced the value provided.This method returns the name of the rule that inferenced the value.This method returns the source type of the attribute.This method returns an array containing the references to the values that were used to determine the current value.
-
Constructor Details
-
TmsInferenceDetails
protected TmsInferenceDetails(SourceType sourceType, ValueReference[] usedValues, ValueReference[] dependentValues, String ruleName, String justificationId)
-
-
Method Details
-
getRuleName
Description copied from interface:IInferenceDetails
This method returns the name of the rule that inferenced the value. As not all values in the profile are sourced by a rule, this method may return a null value. The rule-rule is only relevant for attributes which have a source type SYSTEM or DEFAULT.- Specified by:
getRuleName
in interfaceIInferenceDetails
- Returns:
- The name of the business rule that inferenced the values.
-
getDependentValues
Description copied from interface:IInferenceDetails
This method returns an array containing the references to the attribute values that used this value, corresponding with this details object, to determine their own value.- Specified by:
getDependentValues
in interfaceIInferenceDetails
- Returns:
- Array containing the references of the values that depend on this value.
-
getUsedValues
Description copied from interface:IInferenceDetails
This method returns an array containing the references to the values that were used to determine the current value.- Specified by:
getUsedValues
in interfaceIInferenceDetails
- Returns:
- an array containing the references to the values that were used to determine the current value.
-
getJustificationId
Description copied from interface:IInferenceDetails
This method returns the ID of the justification text that the rule who sourced the value provided. For attribute values that were not sourced by a rule, or for rules that don't have a justification text defined, this method will return a null value.- Specified by:
getJustificationId
in interfaceIInferenceDetails
- Returns:
- the ID of the justification text that the rule who sourced the value provided.
-
getSourceType
Description copied from interface:IInferenceDetails
This method returns the source type of the attribute.- Specified by:
getSourceType
in interfaceIInferenceDetails
- Returns:
- The source type of the attribute.
- See Also:
-