@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
TElementCollection
JSITDMNElement.JSIExtensionElements
Constructor and Description |
---|
JSITElementCollection() |
Modifier and Type | Method and Description |
---|---|
<D extends JSITDMNElementReference> |
addAllDrgElement(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> |
addDrgElement(D element)
Appends the specified element to the end of drgElement
|
List<JSITDMNElementReference> |
getDrgElement()
READ-ONLY getter for drgElement as a
List |
static JSIName |
getJSIName()
Getter for specific
JSIName |
jsinterop.base.JsArrayLike<JSITDMNElementReference> |
getNativeDrgElement()
Native getter for drgElement
|
String |
getTYPE_NAME()
Native getter for TYPE_NAME
|
static boolean |
instanceOf(Object instance) |
void |
removeDrgElement(int index)
Removes the element at the specified position in the drgElement
|
void |
setDrgElement(List<JSITDMNElementReference> drgElementParam)
Setter for drgElement as a
List |
void |
setNativeDrgElement(jsinterop.base.JsArrayLike<JSITDMNElementReference> drgElementParam)
Setter for drgElement
|
getName, setName
getDescription, getExtensionElements, getId, getLabel, getOtherAttributes, getOtherAttributesMap, setDescription, setExtensionElements, setId, setLabel, setOtherAttributes
@JsOverlay public static final String TYPE
@JsOverlay public static boolean instanceOf(Object instance)
@JsOverlay public static JSIName getJSIName()
JSIName
JSIName
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
getTYPE_NAME
in class JSITNamedElement
@JsOverlay public final List<JSITDMNElementReference> getDrgElement()
List
List
@JsOverlay public final <D extends JSITDMNElementReference> void addDrgElement(D element)
element
- to be appended to drgElement@JsOverlay public final <D extends JSITDMNElementReference> void addAllDrgElement(D... elements)
elements
- to be appended to drgElement@JsOverlay public final void removeDrgElement(int index)
index
- of the element to be removed@JsProperty(name="drgElement") public jsinterop.base.JsArrayLike<JSITDMNElementReference> getNativeDrgElement()
@JsOverlay public final void setDrgElement(List<JSITDMNElementReference> drgElementParam)
List
drgElementParam
- The drgElement mapped as a List
@JsProperty(name="drgElement") public final void setNativeDrgElement(jsinterop.base.JsArrayLike<JSITDMNElementReference> drgElementParam)
drgElementParam
- drgElement to set.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.