Class DmnDecisionModel

java.lang.Object
com.aquima.web.api.model.dmn.DmnDecisionModel

public class DmnDecisionModel extends Object
Represents a single node in the DmnDecisionTreeModel.
Since:
9.3
Author:
T. Middeldorp
  • Constructor Details

    • DmnDecisionModel

      public DmnDecisionModel()
      Default constructor
  • Method Details

    • getRuleName

      public String getRuleName()
      Gets the rule name for this decision.
      Returns:
      The rule name, can be null.
    • setRuleName

      public void setRuleName(String ruleName)
      Sets the rule name for this decision.
      Parameters:
      ruleName - The rule name to set, can be null.
    • getUsedDecisions

      public List<DmnDecisionModel> getUsedDecisions()
      Gets the list of all decisions used for this decision.
      Returns:
      List of used decisions, never null.
    • addUsedDecision

      public void addUsedDecision(DmnDecisionModel decision)
      Adds an decision that is used by this decision.
      Parameters:
      decision - The decision to add, cannot be null.
    • getJustification

      public String getJustification()
      Gets the justification for this decision.
      Returns:
      The justification, can be null.
    • setJustification

      public void setJustification(String justification)
      Sets a justification for this decision.
      Parameters:
      justification - The justification string to set, can be null.
    • getEntityName

      public String getEntityName()
      Gets the entity name for this decision.
      Returns:
      The entity name, can be null.
    • setEntityName

      public void setEntityName(String entityName)
      Sets the entity name for this decision.
      Parameters:
      entityName - The entity name to set, can be null.
    • getAttributeName

      public String getAttributeName()
      Gets the attribute name for this decision.
      Returns:
      The attribute name, can be null.
    • setAttributeName

      public void setAttributeName(String attributeName)
      Sets the attribute name for this decision.
      Parameters:
      attributeName - the name of the attribute.
    • getFunctionalName

      public String getFunctionalName()
      Gets the functional name for this decision.
      Returns:
      The functional name, can be null.
    • setFunctionalName

      public void setFunctionalName(String functionalName)
      Sets the functional name for this decision.
      Parameters:
      functionalName - The functional name to set, can be null.
    • getAttributeValues

      public List<String> getAttributeValues()
      Gets the attribute value for this decision.
      Returns:
      The attribute value, can be null.
    • addAttributeValue

      public void addAttributeValue(String attributeValue)
      Adds the specified attribute value to this decision.
      Parameters:
      attributeValue - The attribute value to set, cannot be null.
    • getSourceType

      public String getSourceType()
      Gets the source type for this decision.
      Returns:
      The source type, can be null.
    • setSourceType

      public void setSourceType(String sourceType)
      Sets the source type for this decision.
      Parameters:
      sourceType - The source type to set, can be null.
    • getDefaultRuleType

      public String getDefaultRuleType()
      Gets the default rule type for this decision.
      Returns:
      The default rule type, can be null.
    • setDefaultRuleType

      public void setDefaultRuleType(String defaultRuleType)
      Sets the default rule type for this decision.
      Parameters:
      defaultRuleType - The default rule type to set, can be null.
    • getInstanceId

      public String getInstanceId()
      Returns:
      the instanceId
    • setInstanceId

      public void setInstanceId(String instanceId)
      Parameters:
      instanceId - the instanceId to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object