Interface ResourceadapterType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    ResourceadapterTypeImpl

    public interface ResourceadapterType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the resourceadapterType xsd type
    • Method Detail

      • resourceadapterClass

        ResourceadapterType<T> resourceadapterClass​(String resourceadapterClass)
        Sets the resourceadapter-class element
        Parameters:
        resourceadapterClass - the value for the element resourceadapter-class
        Returns:
        the current instance of ResourceadapterType
      • getResourceadapterClass

        String getResourceadapterClass()
        Returns the resourceadapter-class element
        Returns:
        the node defined for the element resourceadapter-class
      • removeResourceadapterClass

        ResourceadapterType<T> removeResourceadapterClass()
        Removes the resourceadapter-class element
        Returns:
        the current instance of ResourceadapterType
      • getOrCreateConfigProperty

        ConfigPropertyType<ResourceadapterType<T>> getOrCreateConfigProperty()
        If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.
        Returns:
        the instance defined for the element config-property
      • removeAllConfigProperty

        ResourceadapterType<T> removeAllConfigProperty()
        Removes all config-property elements
        Returns:
        the current instance of ConfigPropertyType>
      • getOrCreateOutboundResourceadapter

        OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter()
        If not already created, a new outbound-resourceadapter element with the given value will be created. Otherwise, the existing outbound-resourceadapter element will be returned.
        Returns:
        a new or existing instance of OutboundResourceadapterType>
      • removeOutboundResourceadapter

        ResourceadapterType<T> removeOutboundResourceadapter()
        Removes the outbound-resourceadapter element
        Returns:
        the current instance of ResourceadapterType
      • getOrCreateInboundResourceadapter

        InboundResourceadapterType<ResourceadapterType<T>> getOrCreateInboundResourceadapter()
        If not already created, a new inbound-resourceadapter element with the given value will be created. Otherwise, the existing inbound-resourceadapter element will be returned.
        Returns:
        a new or existing instance of InboundResourceadapterType>
      • removeInboundResourceadapter

        ResourceadapterType<T> removeInboundResourceadapter()
        Removes the inbound-resourceadapter element
        Returns:
        the current instance of ResourceadapterType
      • getOrCreateAdminobject

        AdminobjectType<ResourceadapterType<T>> getOrCreateAdminobject()
        If not already created, a new adminobject element will be created and returned. Otherwise, the first existing adminobject element will be returned.
        Returns:
        the instance defined for the element adminobject
      • removeAllAdminobject

        ResourceadapterType<T> removeAllAdminobject()
        Removes all adminobject elements
        Returns:
        the current instance of AdminobjectType>
      • getOrCreateSecurityPermission

        SecurityPermissionType<ResourceadapterType<T>> getOrCreateSecurityPermission()
        If not already created, a new security-permission element will be created and returned. Otherwise, the first existing security-permission element will be returned.
        Returns:
        the instance defined for the element security-permission
      • removeAllSecurityPermission

        ResourceadapterType<T> removeAllSecurityPermission()
        Removes all security-permission elements
        Returns:
        the current instance of SecurityPermissionType>
      • id

        ResourceadapterType<T> id​(String id)
        Sets the id attribute
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of ResourceadapterType
      • getId

        String getId()
        Returns the id attribute
        Returns:
        the value defined for the attribute id
      • removeId

        ResourceadapterType<T> removeId()
        Removes the id attribute
        Returns:
        the current instance of ResourceadapterType