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
Modifier and TypeFieldDescriptionprotected DmnDecisionLogic
protected String
protected String
protected Collection<DmnDecision>
-
Constructor Summary
-
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.boolean
Checks if the decision logic is implemented as Decision Table.void
setDecisionLogic
(DmnDecisionLogic decisionLogic) void
void
void
setRequiredDecision
(List<DmnDecision> requiredDecision) toString()
-
Field Details
-
key
-
name
-
decisionLogic
-
requiredDecision
-
-
Constructor Details
-
DmnDecisionImpl
public DmnDecisionImpl()
-
-
Method Details
-
getKey
Description copied from interface:DmnDecision
The unique identifier of the decision if exists.- Specified by:
getKey
in interfaceDmnDecision
- Returns:
- the identifier or null if not set
-
setKey
-
getName
Description copied from interface:DmnDecision
The human readable name of the decision if exists.- Specified by:
getName
in interfaceDmnDecision
- Returns:
- the name or null if not set
-
setName
-
setDecisionLogic
-
getDecisionLogic
Description copied from interface:DmnDecision
Returns the decision logic of the decision (e.g., a decision table).- Specified by:
getDecisionLogic
in interfaceDmnDecision
- Returns:
- the containing decision logic
-
setRequiredDecision
-
getRequiredDecisions
Description copied from interface:DmnDecision
Returns the required decisions of this decision.- Specified by:
getRequiredDecisions
in interfaceDmnDecision
- Returns:
- the required decisions or an empty collection if not exists.
-
isDecisionTable
public boolean isDecisionTable()Description copied from interface:DmnDecision
Checks if the decision logic is implemented as Decision Table.- Specified by:
isDecisionTable
in interfaceDmnDecision
- Returns:
- true if the decision logic is implement as Decision Table, otherwise false
-
toString
-