Class DecisionTable
- java.lang.Object
-
- org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
-
- org.kie.workbench.common.dmn.api.definition.model.DMNElement
-
- org.kie.workbench.common.dmn.api.definition.model.Expression
-
- org.kie.workbench.common.dmn.api.definition.model.DecisionTable
-
- All Implemented Interfaces:
DMNDefinition,HasComponentWidths,HasTypeRef,HasTypeRefs
@Portable public class DecisionTable extends Expression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
DMNElement.ExtensionElements
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
-
-
Field Summary
-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.Expression
componentWidths, typeRef
-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
description, id
-
-
Constructor Summary
Constructors Constructor Description DecisionTable()DecisionTable(Id id, Description description, QName typeRef, List<InputClause> input, List<OutputClause> output, List<DecisionRule> rule, HitPolicy hitPolicy, BuiltinAggregator aggregation, DecisionTableOrientation preferredOrientation, String outputLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecisionTablecopy()It represents a contract for all subclasses ofExpression.booleanequals(Object o)BuiltinAggregatorgetAggregation()List<RuleAnnotationClause>getAnnotations()List<HasTypeRef>getHasTypeRefs()HitPolicygetHitPolicy()List<InputClause>getInput()List<OutputClause>getOutput()StringgetOutputLabel()DecisionTableOrientationgetPreferredOrientation()intgetRequiredComponentWidthCount()Returns the expected number of components to correctly represent anExpressionin the editor.List<DecisionRule>getRule()inthashCode()voidsetAggregation(BuiltinAggregator value)voidsetHitPolicy(HitPolicy value)voidsetOutputLabel(String value)voidsetPreferredOrientation(DecisionTableOrientation value)-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.Expression
asDMNModelInstrumentedBase, getComponentWidths, getTypeRef, setTypeRef
-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
-
-
-
-
Constructor Detail
-
DecisionTable
public DecisionTable()
-
DecisionTable
public DecisionTable(Id id, Description description, QName typeRef, List<InputClause> input, List<OutputClause> output, List<DecisionRule> rule, HitPolicy hitPolicy, BuiltinAggregator aggregation, DecisionTableOrientation preferredOrientation, String outputLabel)
-
-
Method Detail
-
copy
public DecisionTable copy()
Description copied from class:ExpressionIt represents a contract for all subclasses ofExpression. Its purpose is to exploit polymorphism when we deeply copy the Expression boxed inside theDecision- Specified by:
copyin classExpression
-
getAnnotations
public List<RuleAnnotationClause> getAnnotations()
-
getInput
public List<InputClause> getInput()
-
getOutput
public List<OutputClause> getOutput()
-
getRule
public List<DecisionRule> getRule()
-
getHitPolicy
public HitPolicy getHitPolicy()
-
setHitPolicy
public void setHitPolicy(HitPolicy value)
-
getAggregation
public BuiltinAggregator getAggregation()
-
setAggregation
public void setAggregation(BuiltinAggregator value)
-
getPreferredOrientation
public DecisionTableOrientation getPreferredOrientation()
-
setPreferredOrientation
public void setPreferredOrientation(DecisionTableOrientation value)
-
getOutputLabel
public String getOutputLabel()
-
setOutputLabel
public void setOutputLabel(String value)
-
getHasTypeRefs
public List<HasTypeRef> getHasTypeRefs()
- Specified by:
getHasTypeRefsin interfaceHasTypeRefs- Overrides:
getHasTypeRefsin classExpression
-
getRequiredComponentWidthCount
public int getRequiredComponentWidthCount()
Description copied from interface:HasComponentWidthsReturns the expected number of components to correctly represent anExpressionin the editor.- Returns:
-
-