Class DTOutputClause
- java.lang.Object
-
- org.kie.dmn.feel.runtime.decisiontables.DTOutputClause
-
- All Implemented Interfaces:
DecisionTable.OutputClause
public class DTOutputClause extends Object implements DecisionTable.OutputClause
-
-
Constructor Summary
Constructors Constructor Description DTOutputClause(String name, String id, List<UnaryTest> outputValues, String defaultValue)DTOutputClause(String name, String id, List<UnaryTest> outputValues, String defaultValue, Type feelType, boolean isCollection)DTOutputClause(String name, List<UnaryTest> outputValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()StringgetId()StringgetName()List<UnaryTest>getOutputValues()TypegetType()booleanisCollection()
-
-
-
Constructor Detail
-
DTOutputClause
public DTOutputClause(String name, String id, List<UnaryTest> outputValues, String defaultValue)
-
DTOutputClause
public DTOutputClause(String name, String id, List<UnaryTest> outputValues, String defaultValue, Type feelType, boolean isCollection)
- Parameters:
isCollection- should consider the output can be a collection of feelType; helpful for expressing a DMN isCollection itemDefinition attribute.
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceDecisionTable.OutputClause
-
getId
public String getId()
-
getOutputValues
public List<UnaryTest> getOutputValues()
- Specified by:
getOutputValuesin interfaceDecisionTable.OutputClause
-
getDefaultValue
public String getDefaultValue()
-
getType
public Type getType()
- Specified by:
getTypein interfaceDecisionTable.OutputClause
-
isCollection
public boolean isCollection()
- Specified by:
isCollectionin interfaceDecisionTable.OutputClause
-
-