Package org.camunda.bpm.dmn.engine.impl
Class DmnDecisionImpl
java.lang.Object
org.camunda.bpm.dmn.engine.impl.DmnDecisionImpl
- All Implemented Interfaces:
DmnDecision
- Direct Known Subclasses:
DecisionDefinitionEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DmnDecisionLogicprotected Stringprotected Stringprotected Collection<DmnDecision> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the decision logic of the decision (e.g., a decision table).getKey()The unique identifier of the decision if exists.getName()The human readable name of the decision if exists.Returns the required decisions of this decision.booleanChecks if the decision logic is implemented as Decision Table.voidsetDecisionLogic(DmnDecisionLogic decisionLogic) voidvoidvoidsetRequiredDecision(List<DmnDecision> requiredDecision) toString()
-
Field Details
-
key
-
name
-
decisionLogic
-
requiredDecision
-
-
Constructor Details
-
DmnDecisionImpl
public DmnDecisionImpl()
-
-
Method Details
-
getKey
Description copied from interface:DmnDecisionThe unique identifier of the decision if exists.- Specified by:
getKeyin interfaceDmnDecision- Returns:
- the identifier or null if not set
-
setKey
-
getName
Description copied from interface:DmnDecisionThe human readable name of the decision if exists.- Specified by:
getNamein interfaceDmnDecision- Returns:
- the name or null if not set
-
setName
-
setDecisionLogic
-
getDecisionLogic
Description copied from interface:DmnDecisionReturns the decision logic of the decision (e.g., a decision table).- Specified by:
getDecisionLogicin interfaceDmnDecision- Returns:
- the containing decision logic
-
setRequiredDecision
-
getRequiredDecisions
Description copied from interface:DmnDecisionReturns the required decisions of this decision.- Specified by:
getRequiredDecisionsin interfaceDmnDecision- Returns:
- the required decisions or an empty collection if not exists.
-
isDecisionTable
public boolean isDecisionTable()Description copied from interface:DmnDecisionChecks if the decision logic is implemented as Decision Table.- Specified by:
isDecisionTablein interfaceDmnDecision- Returns:
- true if the decision logic is implement as Decision Table, otherwise false
-
toString
-