Package com.aquima.web.api.model.dmn
Class DmnDecisionModel
java.lang.Object
com.aquima.web.api.model.dmn.DmnDecisionModel
Represents a single node in the
DmnDecisionTreeModel
.- Since:
- 9.3
- Author:
- T. Middeldorp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeValue
(String attributeValue) Adds the specified attribute value to this decision.void
addUsedDecision
(DmnDecisionModel decision) Adds an decision that is used by this decision.boolean
Gets the attribute name for this decision.Gets the attribute value for this decision.Gets the default rule type for this decision.Gets the entity name for this decision.Gets the functional name for this decision.Gets the justification for this decision.Gets the rule name for this decision.Gets the source type for this decision.Gets the list of all decisions used for this decision.int
hashCode()
void
setAttributeName
(String attributeName) Sets the attribute name for this decision.void
setDefaultRuleType
(String defaultRuleType) Sets the default rule type for this decision.void
setEntityName
(String entityName) Sets the entity name for this decision.void
setFunctionalName
(String functionalName) Sets the functional name for this decision.void
setInstanceId
(String instanceId) void
setJustification
(String justification) Sets a justification for this decision.void
setRuleName
(String ruleName) Sets the rule name for this decision.void
setSourceType
(String sourceType) Sets the source type for this decision.
-
Constructor Details
-
DmnDecisionModel
public DmnDecisionModel()Default constructor
-
-
Method Details
-
getRuleName
Gets the rule name for this decision.- Returns:
- The rule name, can be null.
-
setRuleName
Sets the rule name for this decision.- Parameters:
ruleName
- The rule name to set, can be null.
-
getUsedDecisions
Gets the list of all decisions used for this decision.- Returns:
- List of used decisions, never null.
-
addUsedDecision
Adds an decision that is used by this decision.- Parameters:
decision
- The decision to add, cannot be null.
-
getJustification
Gets the justification for this decision.- Returns:
- The justification, can be null.
-
setJustification
Sets a justification for this decision.- Parameters:
justification
- The justification string to set, can be null.
-
getEntityName
Gets the entity name for this decision.- Returns:
- The entity name, can be null.
-
setEntityName
Sets the entity name for this decision.- Parameters:
entityName
- The entity name to set, can be null.
-
getAttributeName
Gets the attribute name for this decision.- Returns:
- The attribute name, can be null.
-
setAttributeName
Sets the attribute name for this decision.- Parameters:
attributeName
- the name of the attribute.
-
getFunctionalName
Gets the functional name for this decision.- Returns:
- The functional name, can be null.
-
setFunctionalName
Sets the functional name for this decision.- Parameters:
functionalName
- The functional name to set, can be null.
-
getAttributeValues
Gets the attribute value for this decision.- Returns:
- The attribute value, can be null.
-
addAttributeValue
Adds the specified attribute value to this decision.- Parameters:
attributeValue
- The attribute value to set, cannot be null.
-
getSourceType
Gets the source type for this decision.- Returns:
- The source type, can be null.
-
setSourceType
Sets the source type for this decision.- Parameters:
sourceType
- The source type to set, can be null.
-
getDefaultRuleType
Gets the default rule type for this decision.- Returns:
- The default rule type, can be null.
-
setDefaultRuleType
Sets the default rule type for this decision.- Parameters:
defaultRuleType
- The default rule type to set, can be null.
-
getInstanceId
- Returns:
- the instanceId
-
setInstanceId
- Parameters:
instanceId
- the instanceId to set
-
hashCode
public int hashCode() -
equals
-