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

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

public class DmnDecisionImpl
extends Object
implements DmnDecision


Field Summary
protected  DmnDecisionTableImpl decisionTable
           
protected  String key
           
protected  String name
           
protected  Collection<DmnDecision> requiredDecision
           
 
Constructor Summary
DmnDecisionImpl()
           
 
Method Summary
 String getKey()
          The unique identifier of the decision if exists.
 String getName()
          The human readable name of the decision if exists.
 DmnDecisionTableImpl getRelatedDecisionTable()
           
 Collection<DmnDecision> getRequiredDecisions()
          Returns the required decisions of this decision.
 boolean isDecisionTable()
          Check if the decision is implemented as Decision Table.
 void setKey(String key)
           
 void setName(String name)
           
 void setRelatedDecisionTable(DmnDecisionTableImpl decisionTable)
           
 void setRequiredDecision(List<DmnDecision> requiredDecision)
           
 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

decisionTable

protected DmnDecisionTableImpl decisionTable

requiredDecision

protected Collection<DmnDecision> requiredDecision
Constructor Detail

DmnDecisionImpl

public DmnDecisionImpl()
Method Detail

getKey

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

Specified by:
getKey in interface DmnDecision
Returns:
the identifier or null if not set

setKey

public void setKey(String key)

getName

public String getName()
Description copied from interface: DmnDecision
The human readable name of the decision if exists.

Specified by:
getName in interface DmnDecision
Returns:
the name or null if not set

setName

public void setName(String name)

setRelatedDecisionTable

public void setRelatedDecisionTable(DmnDecisionTableImpl decisionTable)

getRelatedDecisionTable

public DmnDecisionTableImpl getRelatedDecisionTable()

setRequiredDecision

public void setRequiredDecision(List<DmnDecision> requiredDecision)

getRequiredDecisions

public Collection<DmnDecision> getRequiredDecisions()
Description copied from interface: DmnDecision
Returns the required decisions of this decision.

Specified by:
getRequiredDecisions in interface DmnDecision
Returns:
the required decisions or an empty collection if not exists.

isDecisionTable

public boolean isDecisionTable()
Description copied from interface: DmnDecision
Check if the decision is implemented as Decision Table.

Specified by:
isDecisionTable in interface DmnDecision
Returns:
true if the decision is implement as Decision Table, false otherwise

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 camunda services GmbH. All rights reserved.