Class JSITElementCollection


  • @JsType(namespace="<global>",
            name="JsInterop__ConstructorAPI__DMN12__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dmn12__JSITElementCollection",
            isNative=true)
    public class JSITElementCollection
    extends JSITNamedElement
    JSInterop adapter for TElementCollection
    • Constructor Detail

      • JSITElementCollection

        public JSITElementCollection()
    • 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 JSITNamedElement
        Returns:
        The TYPE_NAME JSON property
      • addDrgElement

        @JsOverlay
        public final <D extends JSITDMNElementReference> void addDrgElement​(D element)
        Appends the specified element to the end of drgElement
        Parameters:
        element - to be appended to drgElement
      • addAllDrgElement

        @JsOverlay
        public final <D extends JSITDMNElementReference> void addAllDrgElement​(D... elements)
        Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of drgElement
        Parameters:
        elements - to be appended to drgElement
      • removeDrgElement

        @JsOverlay
        public final void removeDrgElement​(int index)
        Removes the element at the specified position in the drgElement
        Parameters:
        index - of the element to be removed
      • getNativeDrgElement

        @JsProperty(name="drgElement")
        public jsinterop.base.JsArrayLike<JSITDMNElementReference> getNativeDrgElement()
        Native getter for drgElement
        Returns:
        The drgElement JSON property
      • setDrgElement

        @JsOverlay
        public final void setDrgElement​(List<JSITDMNElementReference> drgElementParam)
        Setter for drgElement as a List
        Parameters:
        drgElementParam - The drgElement mapped as a List
      • setNativeDrgElement

        @JsProperty(name="drgElement")
        public final void setNativeDrgElement​(jsinterop.base.JsArrayLike<JSITDMNElementReference> drgElementParam)
        Setter for drgElement
        Parameters:
        drgElementParam - drgElement to set.