Class OutputClauseLiteralExpression
- java.lang.Object
-
- org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase
-
- org.kie.workbench.common.dmn.api.definition.model.OutputClauseLiteralExpression
-
- All Implemented Interfaces:
DMNDefinition,HasText,HasTypeRef,HasTypeRefs,HasValue<Text>,IsLiteralExpression,DMNPropertySet,org.kie.workbench.common.stunner.core.domainobject.DomainObject
@Portable public class OutputClauseLiteralExpression extends DMNModelInstrumentedBase implements IsLiteralExpression, HasText, HasTypeRef, DMNPropertySet, org.kie.workbench.common.stunner.core.domainobject.DomainObject
This is in essence a clone ofLiteralExpressionspecifically forOutputClauseto expose theTextas a Form Property to the Dynamic Forms Engine with a specific label for "Default Output value".
-
-
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 Descriptiondescriptionprotected Ididprotected ImportedValuesimportedValuesprotected Texttextprotected QNametypeRef
-
Constructor Summary
Constructors Constructor Description OutputClauseLiteralExpression()OutputClauseLiteralExpression(Id id, Description description, QName typeRef, Text text, ImportedValues importedValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DMNModelInstrumentedBaseasDMNModelInstrumentedBase()OutputClauseLiteralExpressioncopy()booleanequals(Object o)DescriptiongetDescription()StringgetDomainObjectNameTranslationKey()StringgetDomainObjectUUID()List<HasTypeRef>getHasTypeRefs()IdgetId()ImportedValuesgetImportedValues()StringgetStunnerCategory()Set<String>getStunnerLabels()TextgetText()Returns theTextConvenience method replicatingHasValue.getValue()to honour DMN model semantics.QNamegetTypeRef()inthashCode()voidsetDescription(Description description)voidsetImportedValues(ImportedValues importedValues)voidsetText(Text text)Sets theTextConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.voidsetTypeRef(QName typeRef)-
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
-
description
protected Description description
-
typeRef
protected QName typeRef
-
text
protected Text text
-
importedValues
protected ImportedValues importedValues
-
-
Constructor Detail
-
OutputClauseLiteralExpression
public OutputClauseLiteralExpression()
-
OutputClauseLiteralExpression
public OutputClauseLiteralExpression(Id id, Description description, QName typeRef, Text text, ImportedValues importedValues)
-
-
Method Detail
-
copy
public OutputClauseLiteralExpression copy()
-
getHasTypeRefs
public List<HasTypeRef> getHasTypeRefs()
- Specified by:
getHasTypeRefsin interfaceHasTypeRefs
-
getStunnerCategory
public String getStunnerCategory()
-
getId
public Id getId()
- Specified by:
getIdin interfaceIsLiteralExpression
-
getDescription
public Description getDescription()
- Specified by:
getDescriptionin interfaceIsLiteralExpression
-
setDescription
public void setDescription(Description description)
-
getTypeRef
public QName getTypeRef()
- Specified by:
getTypeRefin interfaceHasTypeRef- Specified by:
getTypeRefin interfaceIsLiteralExpression
-
setTypeRef
public void setTypeRef(QName typeRef)
- Specified by:
setTypeRefin interfaceHasTypeRef
-
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 interfaceIsLiteralExpression- Returns:
-
setText
public void setText(Text text)
Description copied from interface:HasTextSets theTextConvenience method replicatingHasValue.setValue(Object)to honour DMN model semantics.
-
getImportedValues
public ImportedValues getImportedValues()
- Specified by:
getImportedValuesin interfaceIsLiteralExpression
-
setImportedValues
public void setImportedValues(ImportedValues importedValues)
-
asDMNModelInstrumentedBase
public DMNModelInstrumentedBase asDMNModelInstrumentedBase()
- Specified by:
asDMNModelInstrumentedBasein interfaceHasTypeRef
-
getDomainObjectUUID
public String getDomainObjectUUID()
- Specified by:
getDomainObjectUUIDin interfaceorg.kie.workbench.common.stunner.core.domainobject.DomainObject
-
getDomainObjectNameTranslationKey
public String getDomainObjectNameTranslationKey()
- Specified by:
getDomainObjectNameTranslationKeyin interfaceorg.kie.workbench.common.stunner.core.domainobject.DomainObject
-
-