Class JSITItemDefinition
- 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.JSITItemDefinition
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DMN12__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dmn12__JSITItemDefinition", isNative=true) public class JSITItemDefinition extends JSITNamedElementJSInterop adapter forTItemDefinition
-
-
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 JSITItemDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSITItemDefinition>
voidaddAllItemComponent(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of itemComponent<D extends JSITItemDefinition>
voidaddItemComponent(D element)Appends the specified element to the end of itemComponentJSITUnaryTestsgetAllowedValues()Native getter for allowedValuesbooleangetIsCollection()Native getter for isCollectionList<JSITItemDefinition>getItemComponent()READ-ONLY getter for itemComponent as aListstatic JSINamegetJSIName()Getter for specificJSINamejsinterop.base.JsArrayLike<JSITItemDefinition>getNativeItemComponent()Native getter for itemComponentStringgetTYPE_NAME()Native getter for TYPE_NAMEStringgetTypeLanguage()Native getter for typeLanguageStringgetTypeRef()Native getter for typeRefstatic booleaninstanceOf(Object instance)voidremoveItemComponent(int index)Removes the element at the specified position in the itemComponentvoidsetAllowedValues(JSITUnaryTests allowedValuesParam)Setter for allowedValuesvoidsetIsCollection(boolean isCollectionParam)Setter for isCollectionvoidsetItemComponent(List<JSITItemDefinition> itemComponentParam)Setter for itemComponent as aListvoidsetNativeItemComponent(jsinterop.base.JsArrayLike<JSITItemDefinition> itemComponentParam)Setter for itemComponentvoidsetTypeLanguage(String typeLanguageParam)Setter for typeLanguagevoidsetTypeRef(String typeRefParam)Setter for typeRef-
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
-
getTypeRef
@JsProperty(name="typeRef") public String getTypeRef()
Native getter for typeRef- Returns:
- The typeRef JSON property
-
setTypeRef
@JsProperty(name="typeRef") public final void setTypeRef(String typeRefParam)
Setter for typeRef- Parameters:
typeRefParam- typeRef to set.
-
getAllowedValues
@JsProperty(name="allowedValues") public JSITUnaryTests getAllowedValues()
Native getter for allowedValues- Returns:
- The allowedValues JSON property
-
setAllowedValues
@JsProperty(name="allowedValues") public final void setAllowedValues(JSITUnaryTests allowedValuesParam)
Setter for allowedValues- Parameters:
allowedValuesParam- allowedValues to set.
-
getItemComponent
@JsOverlay public final List<JSITItemDefinition> getItemComponent()
READ-ONLY getter for itemComponent as aList- Returns:
- The itemComponent mapped as a
List
-
addItemComponent
@JsOverlay public final <D extends JSITItemDefinition> void addItemComponent(D element)
Appends the specified element to the end of itemComponent- Parameters:
element- to be appended to itemComponent
-
addAllItemComponent
@JsOverlay public final <D extends JSITItemDefinition> void addAllItemComponent(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of itemComponent- Parameters:
elements- to be appended to itemComponent
-
removeItemComponent
@JsOverlay public final void removeItemComponent(int index)
Removes the element at the specified position in the itemComponent- Parameters:
index- of the element to be removed
-
getNativeItemComponent
@JsProperty(name="itemComponent") public jsinterop.base.JsArrayLike<JSITItemDefinition> getNativeItemComponent()
Native getter for itemComponent- Returns:
- The itemComponent JSON property
-
setItemComponent
@JsOverlay public final void setItemComponent(List<JSITItemDefinition> itemComponentParam)
Setter for itemComponent as aList- Parameters:
itemComponentParam- The itemComponent mapped as aList
-
setNativeItemComponent
@JsProperty(name="itemComponent") public final void setNativeItemComponent(jsinterop.base.JsArrayLike<JSITItemDefinition> itemComponentParam)
Setter for itemComponent- Parameters:
itemComponentParam- itemComponent to set.
-
getTypeLanguage
@JsProperty(name="typeLanguage") public String getTypeLanguage()
Native getter for typeLanguage- Returns:
- The typeLanguage JSON property
-
setTypeLanguage
@JsProperty(name="typeLanguage") public final void setTypeLanguage(String typeLanguageParam)
Setter for typeLanguage- Parameters:
typeLanguageParam- typeLanguage to set.
-
getIsCollection
@JsProperty(name="isCollection") public boolean getIsCollection()
Native getter for isCollection- Returns:
- The isCollection JSON property
-
setIsCollection
@JsProperty(name="isCollection") public final void setIsCollection(boolean isCollectionParam)
Setter for isCollection- Parameters:
isCollectionParam- isCollection to set.
-
-