public abstract class Expression extends DMNElement implements HasTypeRef, HasComponentWidths
DMNElement.ExtensionElements
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
Modifier and Type | Field and Description |
---|---|
protected List<Double> |
componentWidths |
protected QName |
typeRef |
description, id
Constructor and Description |
---|
Expression() |
Expression(Id id,
Description description,
QName typeRef) |
Modifier and Type | Method and Description |
---|---|
DMNModelInstrumentedBase |
asDMNModelInstrumentedBase() |
abstract Expression |
copy()
It represents a contract for all subclasses of
Expression . |
List<Double> |
getComponentWidths()
Gets a list of the widths of the different components.
|
List<HasTypeRef> |
getHasTypeRefs() |
QName |
getTypeRef() |
void |
setTypeRef(QName typeRef) |
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredComponentWidthCount
public Expression()
public Expression(Id id, Description description, QName typeRef)
public abstract Expression copy()
Expression
.
Its purpose is to exploit polymorphism when we deeply copy the Expression boxed inside the Decision
public QName getTypeRef()
getTypeRef
in interface HasTypeRef
public void setTypeRef(QName typeRef)
setTypeRef
in interface HasTypeRef
public List<Double> getComponentWidths()
HasComponentWidths
Expression
Grid in the editor.getComponentWidths
in interface HasComponentWidths
public DMNModelInstrumentedBase asDMNModelInstrumentedBase()
asDMNModelInstrumentedBase
in interface HasTypeRef
public List<HasTypeRef> getHasTypeRefs()
getHasTypeRefs
in interface HasTypeRefs
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.