public class DmnDecisionRequirementsGraphImpl extends Object implements DmnDecisionRequirementsGraph
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,DmnDecision> |
decisions |
protected String |
key |
protected String |
name |
| Constructor and Description |
|---|
DmnDecisionRequirementsGraphImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDecision(DmnDecision decision) |
DmnDecision |
getDecision(String key)
Gets the containing decision with the given key.
|
Set<String> |
getDecisionKeys()
Get the keys of the containing decisions.
|
Collection<DmnDecision> |
getDecisions()
Gets the containing decisions.
|
String |
getKey()
The unique identifier of the diagram if exists.
|
String |
getName()
The human readable name of the diagram if exists.
|
void |
setDecisions(Map<String,DmnDecision> decisions) |
void |
setKey(String key) |
void |
setName(String name) |
String |
toString() |
protected String key
protected String name
protected Map<String,DmnDecision> decisions
public String getKey()
DmnDecisionRequirementsGraphgetKey in interface DmnDecisionRequirementsGraphpublic void setKey(String key)
public String getName()
DmnDecisionRequirementsGraphgetName in interface DmnDecisionRequirementsGraphpublic void setName(String name)
public Collection<DmnDecision> getDecisions()
DmnDecisionRequirementsGraphgetDecisions in interface DmnDecisionRequirementsGraphpublic void setDecisions(Map<String,DmnDecision> decisions)
public void addDecision(DmnDecision decision)
public DmnDecision getDecision(String key)
DmnDecisionRequirementsGraphgetDecision in interface DmnDecisionRequirementsGraphkey - the identifier of the decisionpublic Set<String> getDecisionKeys()
DmnDecisionRequirementsGraphgetDecisionKeys in interface DmnDecisionRequirementsGraphCopyright © 2021. All rights reserved.