Class JSITElementCollection
- 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.JSITNamedElement
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.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 JSITNamedElementJSInterop adapter forTElementCollection
-
-
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 JSITElementCollection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSITDMNElementReference>
voidaddAllDrgElement(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of drgElement<D extends JSITDMNElementReference>
voidaddDrgElement(D element)Appends the specified element to the end of drgElementList<JSITDMNElementReference>getDrgElement()READ-ONLY getter for drgElement as aListstatic JSINamegetJSIName()Getter for specificJSINamejsinterop.base.JsArrayLike<JSITDMNElementReference>getNativeDrgElement()Native getter for drgElementStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidremoveDrgElement(int index)Removes the element at the specified position in the drgElementvoidsetDrgElement(List<JSITDMNElementReference> drgElementParam)Setter for drgElement as aListvoidsetNativeDrgElement(jsinterop.base.JsArrayLike<JSITDMNElementReference> drgElementParam)Setter for drgElement-
Methods inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITNamedElement
getName, setName
-
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 classJSITNamedElement- Returns:
- The TYPE_NAME JSON property
-
getDrgElement
@JsOverlay public final List<JSITDMNElementReference> getDrgElement()
READ-ONLY getter for drgElement as aList- Returns:
- The drgElement mapped as a
List
-
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 aList- Parameters:
drgElementParam- The drgElement mapped as aList
-
setNativeDrgElement
@JsProperty(name="drgElement") public final void setNativeDrgElement(jsinterop.base.JsArrayLike<JSITDMNElementReference> drgElementParam)
Setter for drgElement- Parameters:
drgElementParam- drgElement to set.
-
-