Class Decision
- 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.NamedElement
-
- org.kie.workbench.common.dmn.api.definition.model.DRGElement
-
- org.kie.workbench.common.dmn.api.definition.model.Decision
-
- All Implemented Interfaces:
DMNDefinition,DMNViewDefinition<GeneralRectangleDimensionsSet>,HasExpression,HasName,HasValue<Name>,HasVariable<InformationItemPrimary>,org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly,org.kie.workbench.common.stunner.core.domainobject.DomainObject,org.kie.workbench.common.stunner.core.graph.content.HasContentDefinitionId,org.kie.workbench.common.stunner.core.graph.content.HasStringName
@Portable public class Decision extends DRGElement implements org.kie.workbench.common.stunner.core.domainobject.DomainObject, HasExpression, DMNViewDefinition<GeneralRectangleDimensionsSet>, HasVariable<InformationItemPrimary>
-
-
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
-
Nested classes/interfaces inherited from interface org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly
org.kie.workbench.common.forms.adf.definitions.DynamicReadOnly.ReadOnly
-
Nested classes/interfaces inherited from interface org.kie.workbench.common.dmn.api.definition.HasExpression
HasExpression.WrappedHasExpression
-
-
Field Summary
Fields Modifier and Type Field Description protected AllowedAnswersallowedAnswersprotected GeneralRectangleDimensionsSetdimensionsSetprotected Expressionexpressionprotected Questionquestionprotected StylingSetstylingSetprotected InformationItemPrimaryvariable-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.DRGElement
allowOnlyVisualChange, linksHolder
-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.NamedElement
nameHolder
-
Fields inherited from class org.kie.workbench.common.dmn.api.definition.model.DMNElement
description, id
-
Fields inherited from interface org.kie.workbench.common.dmn.api.definition.HasExpression
NOP
-
-
Constructor Summary
Constructors Constructor Description Decision()Decision(Id id, Description description, Name name, Question question, AllowedAnswers allowedAnswers, InformationItemPrimary variable, Expression expression, StylingSet stylingSet, GeneralRectangleDimensionsSet dimensionsSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DMNModelInstrumentedBaseasDMNModelInstrumentedBase()booleanequals(Object o)AllowedAnswersgetAllowedAnswers()GeneralRectangleDimensionsSetgetDimensionsSet()StringgetDomainObjectNameTranslationKey()StringgetDomainObjectUUID()ExpressiongetExpression()QuestiongetQuestion()StringgetStunnerCategory()Set<String>getStunnerLabels()StylingSetgetStylingSet()InformationItemPrimarygetVariable()inthashCode()voidsetAllowedAnswers(AllowedAnswers allowedAnswers)voidsetDimensionsSet(GeneralRectangleDimensionsSet dimensionsSet)voidsetExpression(Expression expression)voidsetQuestion(Question question)voidsetStylingSet(StylingSet stylingSet)voidsetVariable(InformationItemPrimary variable)-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.DRGElement
getContentDefinitionId, getDiagramId, getLinksHolder, getReadOnly, getStringName, isAllowOnlyVisualChange, isReadonlyField, setAllowOnlyVisualChange, setContentDefinitionId, setDiagramId, setLinksHolder
-
Methods inherited from class org.kie.workbench.common.dmn.api.definition.model.NamedElement
getName, getNameHolder, setName, setNameHolder
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.dmn.api.definition.DMNDefinition
getNsContext
-
Methods inherited from interface org.kie.workbench.common.dmn.api.definition.HasExpression
isClearSupported
-
-
-
-
Field Detail
-
question
protected Question question
-
allowedAnswers
protected AllowedAnswers allowedAnswers
-
variable
protected InformationItemPrimary variable
-
expression
protected Expression expression
-
stylingSet
protected StylingSet stylingSet
-
dimensionsSet
protected GeneralRectangleDimensionsSet dimensionsSet
-
-
Constructor Detail
-
Decision
public Decision()
-
Decision
public Decision(Id id, Description description, Name name, Question question, AllowedAnswers allowedAnswers, InformationItemPrimary variable, Expression expression, StylingSet stylingSet, GeneralRectangleDimensionsSet dimensionsSet)
-
-
Method Detail
-
getStunnerCategory
public String getStunnerCategory()
-
getStylingSet
public StylingSet getStylingSet()
- Specified by:
getStylingSetin interfaceDMNViewDefinition<GeneralRectangleDimensionsSet>
-
setStylingSet
public void setStylingSet(StylingSet stylingSet)
-
getDimensionsSet
public GeneralRectangleDimensionsSet getDimensionsSet()
- Specified by:
getDimensionsSetin interfaceDMNViewDefinition<GeneralRectangleDimensionsSet>
-
setDimensionsSet
public void setDimensionsSet(GeneralRectangleDimensionsSet dimensionsSet)
-
getQuestion
public Question getQuestion()
-
setQuestion
public void setQuestion(Question question)
-
getAllowedAnswers
public AllowedAnswers getAllowedAnswers()
-
setAllowedAnswers
public void setAllowedAnswers(AllowedAnswers allowedAnswers)
-
getVariable
public InformationItemPrimary getVariable()
- Specified by:
getVariablein interfaceHasVariable<InformationItemPrimary>
-
setVariable
public void setVariable(InformationItemPrimary variable)
- Specified by:
setVariablein interfaceHasVariable<InformationItemPrimary>
-
getExpression
public Expression getExpression()
- Specified by:
getExpressionin interfaceHasExpression
-
setExpression
public void setExpression(Expression expression)
- Specified by:
setExpressionin interfaceHasExpression
-
asDMNModelInstrumentedBase
public DMNModelInstrumentedBase asDMNModelInstrumentedBase()
- Specified by:
asDMNModelInstrumentedBasein interfaceHasExpression- Specified by:
asDMNModelInstrumentedBasein interfaceHasVariable<InformationItemPrimary>
-
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
-
-