Package org.camunda.bpm.dmn.engine.impl
Class DmnDecisionRequirementsGraphImpl
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.DmnDecisionRequirementsGraphImpl
-
- All Implemented Interfaces:
DmnDecisionRequirementsGraph
- Direct Known Subclasses:
DecisionRequirementsDefinitionEntity
public class DmnDecisionRequirementsGraphImpl extends Object implements DmnDecisionRequirementsGraph
-
-
Constructor Summary
Constructors Constructor Description DmnDecisionRequirementsGraphImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
key
protected String key
-
name
protected String name
-
decisions
protected Map<String,DmnDecision> decisions
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:DmnDecisionRequirementsGraph
The unique identifier of the diagram if exists.- Specified by:
getKey
in interfaceDmnDecisionRequirementsGraph
- Returns:
- the identifier or null if not set
-
setKey
public void setKey(String key)
-
getName
public String getName()
Description copied from interface:DmnDecisionRequirementsGraph
The human readable name of the diagram if exists.- Specified by:
getName
in interfaceDmnDecisionRequirementsGraph
- Returns:
- the name or null if not set
-
setName
public void setName(String name)
-
getDecisions
public Collection<DmnDecision> getDecisions()
Description copied from interface:DmnDecisionRequirementsGraph
Gets the containing decisions.- Specified by:
getDecisions
in interfaceDmnDecisionRequirementsGraph
- Returns:
- the containing decisions
-
setDecisions
public void setDecisions(Map<String,DmnDecision> decisions)
-
addDecision
public void addDecision(DmnDecision decision)
-
getDecision
public DmnDecision getDecision(String key)
Description copied from interface:DmnDecisionRequirementsGraph
Gets the containing decision with the given key.- Specified by:
getDecision
in interfaceDmnDecisionRequirementsGraph
- Parameters:
key
- the identifier of the decision- Returns:
- the decision or null if not exists
-
getDecisionKeys
public Set<String> getDecisionKeys()
Description copied from interface:DmnDecisionRequirementsGraph
Get the keys of the containing decisions.- Specified by:
getDecisionKeys
in interfaceDmnDecisionRequirementsGraph
- Returns:
- the decision keys.
-
-