org.camunda.bpm.dmn.engine.impl
Class DmnDecisionRequirementsGraphImpl

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.DmnDecisionRequirementsGraphImpl
All Implemented Interfaces:
DmnDecisionRequirementsGraph

public class DmnDecisionRequirementsGraphImpl
extends Object
implements DmnDecisionRequirementsGraph


Field Summary
protected  Map<String,DmnDecision> decisions
           
protected  String key
           
protected  String name
           
 
Constructor Summary
DmnDecisionRequirementsGraphImpl()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected String key

name

protected String name

decisions

protected Map<String,DmnDecision> decisions
Constructor Detail

DmnDecisionRequirementsGraphImpl

public DmnDecisionRequirementsGraphImpl()
Method Detail

getKey

public String getKey()
Description copied from interface: DmnDecisionRequirementsGraph
The unique identifier of the diagram if exists.

Specified by:
getKey in interface DmnDecisionRequirementsGraph
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 interface DmnDecisionRequirementsGraph
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 interface DmnDecisionRequirementsGraph
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 interface DmnDecisionRequirementsGraph
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 interface DmnDecisionRequirementsGraph
Returns:
the decision keys.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2017 camunda services GmbH. All rights reserved.