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()
DmnDecision
getKey
in interface DmnDecision
public void setKey(String key)
public String getName()
DmnDecision
getName
in interface DmnDecision
public void setName(String name)
public void setDecisionLogic(DmnDecisionLogic decisionLogic)
public DmnDecisionLogic getDecisionLogic()
DmnDecision
getDecisionLogic
in interface DmnDecision
public void setRequiredDecision(List<DmnDecision> requiredDecision)
public Collection<DmnDecision> getRequiredDecisions()
DmnDecision
getRequiredDecisions
in interface DmnDecision
public boolean isDecisionTable()
DmnDecision
isDecisionTable
in interface DmnDecision
Copyright © 2021. All rights reserved.