@Portable public class FunctionDefinition extends Expression implements HasExpression
Modifier and Type | Class and Description |
---|---|
static class |
FunctionDefinition.Kind |
DMNElement.ExtensionElements
DMNModelInstrumentedBase.BaseNodeBuilder<T extends DMNModelInstrumentedBase>, DMNModelInstrumentedBase.Namespace
componentWidths, typeRef
description, id
NOP
Constructor and Description |
---|
FunctionDefinition() |
FunctionDefinition(Id id,
Description description,
QName typeRef,
Expression expression) |
Modifier and Type | Method and Description |
---|---|
DMNModelInstrumentedBase |
asDMNModelInstrumentedBase() |
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, setTypeRef
getDescription, getExtensionElements, getId, setDescription, setExtensionElements, setId
getAdditionalAttributes, getDefaultNamespace, getNsContext, getParent, getPrefixForNamespaceURI, setAdditionalAttributes, setParent
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isClearSupported
public FunctionDefinition()
public FunctionDefinition(Id id, Description description, QName typeRef, Expression expression)
public Expression getExpression()
getExpression
in interface HasExpression
public void setExpression(Expression expression)
setExpression
in interface HasExpression
public DMNModelInstrumentedBase asDMNModelInstrumentedBase()
asDMNModelInstrumentedBase
in interface HasExpression
asDMNModelInstrumentedBase
in interface HasTypeRef
asDMNModelInstrumentedBase
in class Expression
public List<InformationItem> getFormalParameter()
public FunctionDefinition.Kind getKind()
public void setKind(FunctionDefinition.Kind kind)
public List<HasTypeRef> getHasTypeRefs()
getHasTypeRefs
in interface HasTypeRefs
getHasTypeRefs
in class Expression
public int getRequiredComponentWidthCount()
HasComponentWidths
Expression
in the editor.getRequiredComponentWidthCount
in interface HasComponentWidths
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.