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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDecision
(DmnDecision decision) getDecision
(String key) Gets the containing decision with the given key.Get the keys of the containing decisions.Gets the containing decisions.getKey()
The unique identifier of the diagram if exists.getName()
The human readable name of the diagram if exists.void
setDecisions
(Map<String, DmnDecision> decisions) void
void
toString()
-
Field Details
-
key
-
name
-
decisions
-
-
Constructor Details
-
DmnDecisionRequirementsGraphImpl
public DmnDecisionRequirementsGraphImpl()
-
-
Method Details
-
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
-
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
-
getDecisions
Description copied from interface:DmnDecisionRequirementsGraph
Gets the containing decisions.- Specified by:
getDecisions
in interfaceDmnDecisionRequirementsGraph
- Returns:
- the containing decisions
-
setDecisions
-
addDecision
-
getDecision
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
Description copied from interface:DmnDecisionRequirementsGraph
Get the keys of the containing decisions.- Specified by:
getDecisionKeys
in interfaceDmnDecisionRequirementsGraph
- Returns:
- the decision keys.
-
toString
-