@JsType(namespace="JsInterop__ConstructorAPI__DI__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__di__JSIDiagramElement",
name="Extension",
isNative=true)
public static class JSIDiagramElement.JSIExtension
extends Object
Extension| Constructor and Description |
|---|
JSIExtension() |
| Modifier and Type | Method and Description |
|---|---|
<D> void |
addAllAny(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator
to the end of any
|
<D> void |
addAny(D element)
Appends the specified element to the end of any
|
List<Object> |
getAny()
READ-ONLY getter for any as a
List |
jsinterop.base.JsArrayLike<Object> |
getNativeAny()
Native getter for any
|
String |
getTYPE_NAME()
Native getter for TYPE_NAME
|
static boolean |
instanceOf(Object instance) |
void |
removeAny(int index)
Removes the element at the specified position in the any
|
void |
setAny(List<Object> anyParam)
Setter for any as a
List |
void |
setNativeAny(jsinterop.base.JsArrayLike<Object> anyParam)
Setter for any
|
@JsOverlay public static final String TYPE
@JsOverlay public static boolean instanceOf(Object instance)
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
@JsOverlay public final List<Object> getAny()
ListList@JsOverlay public final <D> void addAny(D element)
element - to be appended to any@JsOverlay public final <D> void addAllAny(D... elements)
elements - to be appended to any@JsOverlay public final void removeAny(int index)
index - of the element to be removed@JsProperty(name="any") public jsinterop.base.JsArrayLike<Object> getNativeAny()
@JsOverlay public final void setAny(List<Object> anyParam)
ListanyParam - The any mapped as a List@JsProperty(name="any") public final void setNativeAny(jsinterop.base.JsArrayLike<Object> anyParam)
anyParam - any to set.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.