Class JustificationSet

java.lang.Object
com.aquima.interactions.rule.graph.JustificationInfo
com.aquima.interactions.rule.graph.JustificationSet

public class JustificationSet extends JustificationInfo
This class holds a number of justifications with different formats.
Since:
5.1
Author:
O. Kerpershoek
  • Constructor Details

    • JustificationSet

      public JustificationSet()
  • Method Details

    • getJustificationTextId

      public String getJustificationTextId(String attribute, String id)
      Description copied from class: JustificationInfo
      This method returns the justification text id for the specified parameters.
      Specified by:
      getJustificationTextId in class JustificationInfo
      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

      public JustificationInfo 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 class JustificationInfo
      Returns:
      An optimized version of this info object.
    • addJustification

      protected void addJustification(JustificationEntry entry)