Class Context
- 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.Context
-
- All Implemented Interfaces:
DMNDefinition,HasComponentWidths,HasTypeRef,HasTypeRefs
@Portable public class Context 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 Context()Context(Id id, Description description, QName typeRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contextcopy()It represents a contract for all subclasses ofExpression.booleanequals(Object o)List<ContextEntry>getContextEntry()List<HasTypeRef>getHasTypeRefs()intgetRequiredComponentWidthCount()Returns the expected number of components to correctly represent anExpressionin the editor.inthashCode()-
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
-
Context
public Context()
-
Context
public Context(Id id, Description description, QName typeRef)
-
-
Method Detail
-
copy
public Context 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
-
getContextEntry
public List<ContextEntry> getContextEntry()
-
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:
-
-