Class 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 JSITDRGElement
    JSInterop adapter for TKnowledgeSource
    • Constructor Detail

      • JSITKnowledgeSource

        public JSITKnowledgeSource()
    • Method Detail

      • instanceOf

        @JsOverlay
        public static boolean instanceOf​(Object instance)
      • getJSIName

        @JsOverlay
        public static JSIName getJSIName()
        Getter for specific JSIName
        Returns:
        Getter for specific JSIName
      • getTYPE_NAME

        @JsProperty(name="TYPE_NAME")
        public String getTYPE_NAME()
        Native getter for TYPE_NAME
        Overrides:
        getTYPE_NAME in class JSITDRGElement
        Returns:
        The TYPE_NAME JSON property
      • getAuthorityRequirement

        @JsOverlay
        public final List<JSITAuthorityRequirement> getAuthorityRequirement()
        READ-ONLY getter for authorityRequirement as a List
        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 a List
        Parameters:
        authorityRequirementParam - The authorityRequirement mapped as a List
      • 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.