Class 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 JSITExpression
    JSInterop adapter for TFunctionDefinition
    • Constructor Detail

      • JSITFunctionDefinition

        public JSITFunctionDefinition()
    • Method Detail

      • instanceOf

        @JsOverlay
        public static boolean instanceOf​(Object instance)
      • getJSIName

        @JsOverlay
        public static JSIName getJSIName()
        Getter for specific JSIName
        Returns:
        Getter for specific JSIName
      • getTYPE_NAME

        @JsProperty(name="TYPE_NAME")
        public String getTYPE_NAME()
        Native getter for TYPE_NAME
        Overrides:
        getTYPE_NAME in class JSITExpression
        Returns:
        The TYPE_NAME JSON property
      • getFormalParameter

        @JsOverlay
        public final List<JSITInformationItem> getFormalParameter()
        READ-ONLY getter for formalParameter as a List
        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 a List
        Parameters:
        formalParameterParam - The formalParameter mapped as a List
      • 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.