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 voidaddDecision(DmnDecision decision)DmnDecisiongetDecision(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.StringgetKey()The unique identifier of the diagram if exists.StringgetName()The human readable name of the diagram if exists.voidsetDecisions(Map<String,DmnDecision> decisions)voidsetKey(String key)voidsetName(String name)StringtoString()
-
-
-
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:DmnDecisionRequirementsGraphThe unique identifier of the diagram if exists.- Specified by:
getKeyin interfaceDmnDecisionRequirementsGraph- Returns:
- the identifier or null if not set
-
setKey
public void setKey(String key)
-
getName
public String getName()
Description copied from interface:DmnDecisionRequirementsGraphThe human readable name of the diagram if exists.- Specified by:
getNamein interfaceDmnDecisionRequirementsGraph- Returns:
- the name or null if not set
-
setName
public void setName(String name)
-
getDecisions
public Collection<DmnDecision> getDecisions()
Description copied from interface:DmnDecisionRequirementsGraphGets the containing decisions.- Specified by:
getDecisionsin 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:DmnDecisionRequirementsGraphGets the containing decision with the given key.- Specified by:
getDecisionin 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:DmnDecisionRequirementsGraphGet the keys of the containing decisions.- Specified by:
getDecisionKeysin interfaceDmnDecisionRequirementsGraph- Returns:
- the decision keys.
-
-