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()
DmnDecisionRequirementsGraph
getKey
in interface DmnDecisionRequirementsGraph
public void setKey(String key)
public String getName()
DmnDecisionRequirementsGraph
getName
in interface DmnDecisionRequirementsGraph
public void setName(String name)
public Collection<DmnDecision> getDecisions()
DmnDecisionRequirementsGraph
getDecisions
in interface DmnDecisionRequirementsGraph
public void setDecisions(Map<String,DmnDecision> decisions)
public void addDecision(DmnDecision decision)
public DmnDecision getDecision(String key)
DmnDecisionRequirementsGraph
getDecision
in interface DmnDecisionRequirementsGraph
key
- the identifier of the decisionpublic Set<String> getDecisionKeys()
DmnDecisionRequirementsGraph
getDecisionKeys
in interface DmnDecisionRequirementsGraph
Copyright © 2021. All rights reserved.