Class InputClauseUnaryTests
- java.lang.Object
-
- org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
-
- org.kie.workbench.common.dmn.api.definition.model.InputClauseUnaryTests
-
- All Implemented Interfaces:
DMNDefinition,HasText,HasValue<Text>,IsUnaryTests,DMNPropertySet
@Portable public class InputClauseUnaryTests extends DMNModelInstrumentedBase implements IsUnaryTests, HasText, DMNPropertySet
This is in essence a clone ofUnaryTestsspecifically forInputClauseto expose theTextas a Form Property to the Dynamic Forms Engine with a specific label for "Constraint".
-
-
Nested Class Summary
-
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 Modifier and Type Field Description protected ConstraintTypePropertyconstraintTypePropertyprotected Ididprotected Texttext
-
Constructor Summary
Constructors Constructor Description InputClauseUnaryTests()InputClauseUnaryTests(Id id, Text text, ConstraintType constraintType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputClauseUnaryTestscopy()booleanequals(Object o)ConstraintTypegetConstraintType()ConstraintTypePropertygetConstraintTypeProperty()IdgetId()TextgetText()Returns theTextConvenience method replicatingHasValue.getValue()to honour DMN model semantics.inthashCode()voidsetConstraintTypeProperty(ConstraintTypeProperty constraintTypeProperty)voidsetText(Text value)Sets theTextConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
-
-
-
-
Field Detail
-
id
protected Id id
-
text
protected Text text
-
constraintTypeProperty
protected ConstraintTypeProperty constraintTypeProperty
-
-
Constructor Detail
-
InputClauseUnaryTests
public InputClauseUnaryTests()
-
InputClauseUnaryTests
public InputClauseUnaryTests(Id id, Text text, ConstraintType constraintType)
-
-
Method Detail
-
copy
public InputClauseUnaryTests copy()
-
getId
public Id getId()
- Specified by:
getIdin interfaceIsUnaryTests
-
getText
public Text getText()
Description copied from interface:HasTextReturns theTextConvenience method replicatingHasValue.getValue()to honour DMN model semantics.- Specified by:
getTextin interfaceHasText- Specified by:
getTextin interfaceIsUnaryTests- Returns:
-
getConstraintType
public ConstraintType getConstraintType()
- Specified by:
getConstraintTypein interfaceIsUnaryTests
-
setConstraintTypeProperty
public void setConstraintTypeProperty(ConstraintTypeProperty constraintTypeProperty)
-
getConstraintTypeProperty
public ConstraintTypeProperty getConstraintTypeProperty()
-
setText
public void setText(Text value)
Description copied from interface:HasTextSets theTextConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.
-
-