Class TmsInferenceDetails

java.lang.Object
com.aquima.interactions.rule.tms.TmsInferenceDetails
All Implemented Interfaces:
IInferenceDetails

public class TmsInferenceDetails extends Object implements IInferenceDetails
Contains the source information of an attribute.
Since:
7.0
Author:
a.pragt
  • Constructor Details

  • Method Details

    • getRuleName

      public String 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 interface IInferenceDetails
      Returns:
      The name of the business rule that inferenced the values.
    • getDependentValues

      public ValueReference[] 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 interface IInferenceDetails
      Returns:
      Array containing the references of the values that depend on this value.
    • getUsedValues

      public ValueReference[] 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 interface IInferenceDetails
      Returns:
      an array containing the references to the values that were used to determine the current value.
    • getJustificationId

      public String 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 interface IInferenceDetails
      Returns:
      the ID of the justification text that the rule who sourced the value provided.
    • getSourceType

      public SourceType getSourceType()
      Description copied from interface: IInferenceDetails
      This method returns the source type of the attribute.
      Specified by:
      getSourceType in interface IInferenceDetails
      Returns:
      The source type of the attribute.
      See Also: