Class Relation
- 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.Relation
-
- All Implemented Interfaces:
DMNDefinition,HasComponentWidths,HasTypeRef,HasTypeRefs
@Portable public class Relation 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 Modifier and Type Field Description static intSTATIC_COLUMNS-
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 Relation()Relation(Id id, Description description, QName typeRef, List<InformationItem> column, List<List> row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Relationcopy()It represents a contract for all subclasses ofExpression.booleanequals(Object o)List<InformationItem>getColumn()List<HasTypeRef>getHasTypeRefs()intgetRequiredComponentWidthCount()Returns the expected number of components to correctly represent anExpressionin the editor.List<List>getRow()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
-
-
-
-
Field Detail
-
STATIC_COLUMNS
public static final int STATIC_COLUMNS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Relation
public Relation()
-
Relation
public Relation(Id id, Description description, QName typeRef, List<InformationItem> column, List<List> row)
-
-
Method Detail
-
copy
public Relation 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
-
getColumn
public List<InformationItem> getColumn()
-
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:
-
-