public class DmnDecisionImpl extends Object implements DmnDecision
| Modifier and Type | Field and Description |
|---|---|
protected DmnDecisionLogic |
decisionLogic |
protected String |
key |
protected String |
name |
protected Collection<DmnDecision> |
requiredDecision |
| Constructor and Description |
|---|
DmnDecisionImpl() |
| Modifier and Type | Method and Description |
|---|---|
DmnDecisionLogic |
getDecisionLogic()
Returns the decision logic of the decision (e.g., a decision table).
|
String |
getKey()
The unique identifier of the decision if exists.
|
String |
getName()
The human readable name of the decision if exists.
|
Collection<DmnDecision> |
getRequiredDecisions()
Returns the required decisions of this decision.
|
boolean |
isDecisionTable()
Checks if the decision logic is implemented as Decision Table.
|
void |
setDecisionLogic(DmnDecisionLogic decisionLogic) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setRequiredDecision(List<DmnDecision> requiredDecision) |
String |
toString() |
protected String key
protected String name
protected DmnDecisionLogic decisionLogic
protected Collection<DmnDecision> requiredDecision
public String getKey()
DmnDecisiongetKey in interface DmnDecisionpublic void setKey(String key)
public String getName()
DmnDecisiongetName in interface DmnDecisionpublic void setName(String name)
public void setDecisionLogic(DmnDecisionLogic decisionLogic)
public DmnDecisionLogic getDecisionLogic()
DmnDecisiongetDecisionLogic in interface DmnDecisionpublic void setRequiredDecision(List<DmnDecision> requiredDecision)
public Collection<DmnDecision> getRequiredDecisions()
DmnDecisiongetRequiredDecisions in interface DmnDecisionpublic boolean isDecisionTable()
DmnDecisionisDecisionTable in interface DmnDecisionCopyright © 2021. All rights reserved.