Class JSITRelation
- 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.JSITExpression
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITRelation
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DMN12__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dmn12__JSITRelation", isNative=true) public class JSITRelation extends JSITExpressionJSInterop adapter forTRelation
-
-
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 JSITRelation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSITInformationItem>
voidaddAllColumn(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of column<D extends JSITList>
voidaddAllRow(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of row<D extends JSITInformationItem>
voidaddColumn(D element)Appends the specified element to the end of column<D extends JSITList>
voidaddRow(D element)Appends the specified element to the end of rowList<JSITInformationItem>getColumn()READ-ONLY getter for column as aListstatic JSINamegetJSIName()Getter for specificJSINamejsinterop.base.JsArrayLike<JSITInformationItem>getNativeColumn()Native getter for columnjsinterop.base.JsArrayLike<JSITList>getNativeRow()Native getter for rowList<JSITList>getRow()READ-ONLY getter for row as aListStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidremoveColumn(int index)Removes the element at the specified position in the columnvoidremoveRow(int index)Removes the element at the specified position in the rowvoidsetColumn(List<JSITInformationItem> columnParam)Setter for column as aListvoidsetNativeColumn(jsinterop.base.JsArrayLike<JSITInformationItem> columnParam)Setter for columnvoidsetNativeRow(jsinterop.base.JsArrayLike<JSITList> rowParam)Setter for rowvoidsetRow(List<JSITList> rowParam)Setter for row as aList-
Methods inherited from class org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITExpression
getTypeRef, setTypeRef
-
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 classJSITExpression- Returns:
- The TYPE_NAME JSON property
-
getColumn
@JsOverlay public final List<JSITInformationItem> getColumn()
READ-ONLY getter for column as aList- Returns:
- The column mapped as a
List
-
addColumn
@JsOverlay public final <D extends JSITInformationItem> void addColumn(D element)
Appends the specified element to the end of column- Parameters:
element- to be appended to column
-
addAllColumn
@JsOverlay public final <D extends JSITInformationItem> void addAllColumn(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of column- Parameters:
elements- to be appended to column
-
removeColumn
@JsOverlay public final void removeColumn(int index)
Removes the element at the specified position in the column- Parameters:
index- of the element to be removed
-
getNativeColumn
@JsProperty(name="column") public jsinterop.base.JsArrayLike<JSITInformationItem> getNativeColumn()
Native getter for column- Returns:
- The column JSON property
-
setColumn
@JsOverlay public final void setColumn(List<JSITInformationItem> columnParam)
Setter for column as aList- Parameters:
columnParam- The column mapped as aList
-
setNativeColumn
@JsProperty(name="column") public final void setNativeColumn(jsinterop.base.JsArrayLike<JSITInformationItem> columnParam)
Setter for column- Parameters:
columnParam- column to set.
-
getRow
@JsOverlay public final List<JSITList> getRow()
READ-ONLY getter for row as aList- Returns:
- The row mapped as a
List
-
addRow
@JsOverlay public final <D extends JSITList> void addRow(D element)
Appends the specified element to the end of row- Parameters:
element- to be appended to row
-
addAllRow
@JsOverlay public final <D extends JSITList> void addAllRow(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of row- Parameters:
elements- to be appended to row
-
removeRow
@JsOverlay public final void removeRow(int index)
Removes the element at the specified position in the row- Parameters:
index- of the element to be removed
-
getNativeRow
@JsProperty(name="row") public jsinterop.base.JsArrayLike<JSITList> getNativeRow()
Native getter for row- Returns:
- The row JSON property
-
setRow
@JsOverlay public final void setRow(List<JSITList> rowParam)
Setter for row as aList- Parameters:
rowParam- The row mapped as aList
-
setNativeRow
@JsProperty(name="row") public final void setNativeRow(jsinterop.base.JsArrayLike<JSITList> rowParam)
Setter for row- Parameters:
rowParam- row to set.
-
-