Class JSIStyle.JSIExtension
- java.lang.Object
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.di.JSIStyle.JSIExtension
-
-
Constructor Summary
Constructors Constructor Description JSIExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D> voidaddAllAny(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of any<D> voidaddAny(D element)Appends the specified element to the end of anyList<Object>getAny()READ-ONLY getter for any as aListjsinterop.base.JsArrayLike<Object>getNativeAny()Native getter for anyStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidremoveAny(int index)Removes the element at the specified position in the anyvoidsetAny(List<Object> anyParam)Setter for any as aListvoidsetNativeAny(jsinterop.base.JsArrayLike<Object> anyParam)Setter for any
-
-
-
Field Detail
-
TYPE
@JsOverlay public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
instanceOf
@JsOverlay public static boolean instanceOf(Object instance)
-
getTYPE_NAME
@JsProperty(name="TYPE_NAME") public String getTYPE_NAME()
Native getter for TYPE_NAME- Returns:
- The TYPE_NAME JSON property
-
getAny
@JsOverlay public final List<Object> getAny()
READ-ONLY getter for any as aList- Returns:
- The any mapped as a
List
-
addAny
@JsOverlay public final <D> void addAny(D element)
Appends the specified element to the end of any- Parameters:
element- to be appended to any
-
addAllAny
@JsOverlay public final <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- Parameters:
elements- to be appended to any
-
removeAny
@JsOverlay public final void removeAny(int index)
Removes the element at the specified position in the any- Parameters:
index- of the element to be removed
-
getNativeAny
@JsProperty(name="any") public jsinterop.base.JsArrayLike<Object> getNativeAny()
Native getter for any- Returns:
- The any JSON property
-
setAny
@JsOverlay public final void setAny(List<Object> anyParam)
Setter for any as aList- Parameters:
anyParam- The any mapped as aList
-
setNativeAny
@JsProperty(name="any") public final void setNativeAny(jsinterop.base.JsArrayLike<Object> anyParam)
Setter for any- Parameters:
anyParam- any to set.
-
-