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

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

public class DmnDecisionTableResultImpl
extends Object
implements DmnDecisionTableResult


Field Summary
protected  String collectResultName
           
protected  Number collectResultValue
           
protected  long executedDecisionElements
           
protected  Map<String,DmnDecisionTableValue> inputs
           
protected  List<DmnDecisionTableRule> matchingRules
           
 
Constructor Summary
DmnDecisionTableResultImpl()
           
 
Method Summary
 String getCollectResultName()
           
 Number getCollectResultValue()
           
 long getExecutedDecisionElements()
           
 Map<String,DmnDecisionTableValue> getInputs()
           
 List<DmnDecisionTableRule> getMatchingRules()
           
 void setCollectResultName(String collectResultName)
           
 void setCollectResultValue(Number collectResultValue)
           
 void setExecutedDecisionElements(long executedDecisionElements)
           
 void setInputs(Map<String,DmnDecisionTableValue> inputs)
           
 void setMatchingRules(List<DmnDecisionTableRule> matchingRules)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

inputs

protected Map<String,DmnDecisionTableValue> inputs

matchingRules

protected List<DmnDecisionTableRule> matchingRules

collectResultName

protected String collectResultName

collectResultValue

protected Number collectResultValue

executedDecisionElements

protected long executedDecisionElements
Constructor Detail

DmnDecisionTableResultImpl

public DmnDecisionTableResultImpl()
Method Detail

getInputs

public Map<String,DmnDecisionTableValue> getInputs()
Specified by:
getInputs in interface DmnDecisionTableResult
Returns:
the inputs on which the decision table was evaluated

setInputs

public void setInputs(Map<String,DmnDecisionTableValue> inputs)

getMatchingRules

public List<DmnDecisionTableRule> getMatchingRules()
Specified by:
getMatchingRules in interface DmnDecisionTableResult
Returns:
the matching rules of the decision table evaluation

setMatchingRules

public void setMatchingRules(List<DmnDecisionTableRule> matchingRules)

getCollectResultName

public String getCollectResultName()
Specified by:
getCollectResultName in interface DmnDecisionTableResult
Returns:
the result name of the collect operation if the HitPolicy.COLLECT was used with an aggregator otherwise null

setCollectResultName

public void setCollectResultName(String collectResultName)

getCollectResultValue

public Number getCollectResultValue()
Specified by:
getCollectResultValue in interface DmnDecisionTableResult
Returns:
the result value of the collect operation if the HitPolicy.COLLECT was used with an aggregator otherwise null

setCollectResultValue

public void setCollectResultValue(Number collectResultValue)

getExecutedDecisionElements

public long getExecutedDecisionElements()
Specified by:
getExecutedDecisionElements in interface DmnDecisionTableResult
Returns:
the number of executed decision elements during the evaluation

setExecutedDecisionElements

public void setExecutedDecisionElements(long executedDecisionElements)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 camunda services GmbH. All rights reserved.