@Portable public class FunctionDefinition extends Expression implements HasExpression
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionDefinition.Kind |
DMNElement.ExtensionElementsDMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.NamespaceHasExpression.WrappedHasExpressioncomponentWidths, typeRefdescription, idNOP| Constructor and Description |
|---|
FunctionDefinition() |
FunctionDefinition(Id id,
Description description,
QName typeRef,
Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
DMNModelInstrumentedBase |
asDMNModelInstrumentedBase() |
FunctionDefinition |
copy()
It represents a contract for all subclasses of
Expression. |
boolean |
equals(Object o) |
Expression |
getExpression() |
List<InformationItem> |
getFormalParameter() |
List<HasTypeRef> |
getHasTypeRefs() |
FunctionDefinition.Kind |
getKind() |
int |
getRequiredComponentWidthCount()
Returns the expected number of components to correctly represent an
Expression in the editor. |
int |
hashCode() |
void |
setExpression(Expression expression) |
void |
setKind(FunctionDefinition.Kind kind) |
getComponentWidths, getTypeRef, setTypeRefgetDescription, getExtensionElements, getId, setDescription, setExtensionElements, setIdgetAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParentclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisClearSupported, wrappublic FunctionDefinition()
public FunctionDefinition(Id id, Description description, QName typeRef, Expression expression)
public FunctionDefinition copy()
ExpressionExpression.
Its purpose is to exploit polymorphism when we deeply copy the Expression boxed inside the Decisioncopy in class Expressionpublic Expression getExpression()
getExpression in interface HasExpressionpublic void setExpression(Expression expression)
setExpression in interface HasExpressionpublic DMNModelInstrumentedBase asDMNModelInstrumentedBase()
asDMNModelInstrumentedBase in interface HasExpressionasDMNModelInstrumentedBase in interface HasTypeRefasDMNModelInstrumentedBase in class Expressionpublic List<InformationItem> getFormalParameter()
public FunctionDefinition.Kind getKind()
public void setKind(FunctionDefinition.Kind kind)
public List<HasTypeRef> getHasTypeRefs()
getHasTypeRefs in interface HasTypeRefsgetHasTypeRefs in class Expressionpublic int getRequiredComponentWidthCount()
HasComponentWidthsExpression in the editor.getRequiredComponentWidthCount in interface HasComponentWidthsCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.