Class JSITKnowledgeSource
- 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.JSITDRGElement
-
- org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITKnowledgeSource
-
@JsType(namespace="<global>", name="JsInterop__ConstructorAPI__DMN12__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__dmn12__JSITKnowledgeSource", isNative=true) public class JSITKnowledgeSource extends JSITDRGElementJSInterop adapter forTKnowledgeSource
-
-
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 JSITKnowledgeSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends JSITAuthorityRequirement>
voidaddAllAuthorityRequirement(D... elements)Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of authorityRequirement<D extends JSITAuthorityRequirement>
voidaddAuthorityRequirement(D element)Appends the specified element to the end of authorityRequirementList<JSITAuthorityRequirement>getAuthorityRequirement()READ-ONLY getter for authorityRequirement as aListstatic JSINamegetJSIName()Getter for specificJSINameStringgetLocationURI()Native getter for locationURIjsinterop.base.JsArrayLike<JSITAuthorityRequirement>getNativeAuthorityRequirement()Native getter for authorityRequirementJSITDMNElementReferencegetOwner()Native getter for ownerStringgetType()Native getter for typeStringgetTYPE_NAME()Native getter for TYPE_NAMEstatic booleaninstanceOf(Object instance)voidremoveAuthorityRequirement(int index)Removes the element at the specified position in the authorityRequirementvoidsetAuthorityRequirement(List<JSITAuthorityRequirement> authorityRequirementParam)Setter for authorityRequirement as aListvoidsetLocationURI(String locationURIParam)Setter for locationURIvoidsetNativeAuthorityRequirement(jsinterop.base.JsArrayLike<JSITAuthorityRequirement> authorityRequirementParam)Setter for authorityRequirementvoidsetOwner(JSITDMNElementReference ownerParam)Setter for ownervoidsetType(String typeParam)Setter for type-
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 classJSITDRGElement- Returns:
- The TYPE_NAME JSON property
-
getAuthorityRequirement
@JsOverlay public final List<JSITAuthorityRequirement> getAuthorityRequirement()
READ-ONLY getter for authorityRequirement as aList- Returns:
- The authorityRequirement mapped as a
List
-
addAuthorityRequirement
@JsOverlay public final <D extends JSITAuthorityRequirement> void addAuthorityRequirement(D element)
Appends the specified element to the end of authorityRequirement- Parameters:
element- to be appended to authorityRequirement
-
addAllAuthorityRequirement
@JsOverlay public final <D extends JSITAuthorityRequirement> void addAllAuthorityRequirement(D... elements)
Iterates over the specified collection of elements, and adds each element returned by the iterator to the end of authorityRequirement- Parameters:
elements- to be appended to authorityRequirement
-
removeAuthorityRequirement
@JsOverlay public final void removeAuthorityRequirement(int index)
Removes the element at the specified position in the authorityRequirement- Parameters:
index- of the element to be removed
-
getNativeAuthorityRequirement
@JsProperty(name="authorityRequirement") public jsinterop.base.JsArrayLike<JSITAuthorityRequirement> getNativeAuthorityRequirement()
Native getter for authorityRequirement- Returns:
- The authorityRequirement JSON property
-
setAuthorityRequirement
@JsOverlay public final void setAuthorityRequirement(List<JSITAuthorityRequirement> authorityRequirementParam)
Setter for authorityRequirement as aList- Parameters:
authorityRequirementParam- The authorityRequirement mapped as aList
-
setNativeAuthorityRequirement
@JsProperty(name="authorityRequirement") public final void setNativeAuthorityRequirement(jsinterop.base.JsArrayLike<JSITAuthorityRequirement> authorityRequirementParam)
Setter for authorityRequirement- Parameters:
authorityRequirementParam- authorityRequirement to set.
-
getType
@JsProperty(name="type") public String getType()
Native getter for type- Returns:
- The type JSON property
-
setType
@JsProperty(name="type") public final void setType(String typeParam)
Setter for type- Parameters:
typeParam- type to set.
-
getOwner
@JsProperty(name="owner") public JSITDMNElementReference getOwner()
Native getter for owner- Returns:
- The owner JSON property
-
setOwner
@JsProperty(name="owner") public final void setOwner(JSITDMNElementReference ownerParam)
Setter for owner- Parameters:
ownerParam- owner to set.
-
getLocationURI
@JsProperty(name="locationURI") public String getLocationURI()
Native getter for locationURI- Returns:
- The locationURI JSON property
-
setLocationURI
@JsProperty(name="locationURI") public final void setLocationURI(String locationURIParam)
Setter for locationURI- Parameters:
locationURIParam- locationURI to set.
-
-