Class JSITFunctionDefinition
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITDMNElement
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITExpression
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITFunctionDefinition
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DMN12__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dmn12__JSITFunctionDefinition", isNative=true) public class JSITFunctionDefinition extends JSITExpressionJSInterop adapter forTFunctionDefinition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITDMNElement
JSITDMNElement.JSIExtensionElements
-
-
Constructor Summary
Constructors Constructor Description JSITFunctionDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSITInformationItem>
voidaddAllFormalParameter(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of formalParameter<D extends JSITInformationItem>
voidaddFormalParameter(D element)Appends the specified element to the end of formalParameterJSITExpressiongetExpression()Native getter for expressionList<JSITInformationItem>getFormalParameter()READ-ONLY getter for formalParameter as aListstatic JSINamegetJSIName()Getter for specificJSINameJSITFunctionKindgetKind()Native getter for kindjsinterop.base.JsArrayLike<JSITInformationItem>getNativeFormalParameter()Native getter for formalParameterStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidremoveFormalParameter(int index)Removes the element at the specified position in the formalParametervoidsetExpression(JSITExpression expressionParam)Setter for expressionvoidsetFormalParameter(List<JSITInformationItem> formalParameterParam)Setter for formalParameter as aListvoidsetKind(JSITFunctionKind kindParam)Setter for kindvoidsetNativeFormalParameter(jsinterop.base.JsArrayLike<JSITInformationItem> formalParameterParam)Setter for formalParameter-
Methods inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITExpression
getTypeRef, setTypeRef
-
Methods inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITDMNElement
getDescription, getExtensionElements, getId, getLabel, getOtherAttributes, getOtherAttributesMap, setDescription, setExtensionElements, setId, setLabel, setOtherAttributes
-
-
-
-
Field Detail
-
TYPE
@JsOverlay public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instanceOf
@JsOverlay public static boolean instanceOf(Object instance)
-
getJSIName
@JsOverlay public static JSIName getJSIName()
Getter for specificJSIName- Returns:
- Getter for specific
JSIName
-
getTYPE_NAME
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
Native getter for TYPE_NAME- Overrides:
getTYPE_NAMEin classJSITExpression- Returns:
- The TYPE_NAME JSON property
-
getFormalParameter
@JsOverlay public final List<JSITInformationItem> getFormalParameter()
READ-ONLY getter for formalParameter as aList- Returns:
- The formalParameter mapped as a
List
-
addFormalParameter
@JsOverlay public final <D extends JSITInformationItem> void addFormalParameter(D element)
Appends the specified element to the end of formalParameter- Parameters:
element- to be appended to formalParameter
-
addAllFormalParameter
@JsOverlay public final <D extends JSITInformationItem> void addAllFormalParameter(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of formalParameter- Parameters:
elements- to be appended to formalParameter
-
removeFormalParameter
@JsOverlay public final void removeFormalParameter(int index)
Removes the element at the specified position in the formalParameter- Parameters:
index- of the element to be removed
-
getNativeFormalParameter
@JsProperty(name="formalParameter") public jsinterop.base.JsArrayLike<JSITInformationItem> getNativeFormalParameter()
Native getter for formalParameter- Returns:
- The formalParameter JSON property
-
setFormalParameter
@JsOverlay public final void setFormalParameter(List<JSITInformationItem> formalParameterParam)
Setter for formalParameter as aList- Parameters:
formalParameterParam- The formalParameter mapped as aList
-
setNativeFormalParameter
@JsProperty(name="formalParameter") public final void setNativeFormalParameter(jsinterop.base.JsArrayLike<JSITInformationItem> formalParameterParam)
Setter for formalParameter- Parameters:
formalParameterParam- formalParameter to set.
-
getExpression
@JsProperty(name="expression") public JSITExpression getExpression()
Native getter for expression- Returns:
- The expression JSON property
-
setExpression
@JsProperty(name="expression") public final void setExpression(JSITExpression expressionParam)
Setter for expression- Parameters:
expressionParam- expression to set.
-
getKind
@JsProperty(name="kind") public JSITFunctionKind getKind()
Native getter for kind- Returns:
- The kind JSON property
-
setKind
@JsProperty(name="kind") public final void setKind(JSITFunctionKind kindParam)
Setter for kind- Parameters:
kindParam- kind to set.
-
-