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 resource-adapterType xsd type
  • Method Details

    • archive

      ResourceAdapterType<T> archive(String archive)
      Sets the archive element
      Parameters:
      archive - the value for the element archive
      Returns:
      the current instance of ResourceAdapterType
    • getArchive

      String getArchive()
      Returns the archive element
      Returns:
      the node defined for the element archive
    • removeArchive

      ResourceAdapterType<T> removeArchive()
      Removes the archive element
      Returns:
      the current instance of ResourceAdapterType
    • getOrCreateBeanValidationGroups

      BeanValidationGroupsType<ResourceAdapterType<T>> getOrCreateBeanValidationGroups()
      If not already created, a new bean-validation-groups element with the given value will be created. Otherwise, the existing bean-validation-groups element will be returned.
      Returns:
      a new or existing instance of BeanValidationGroupsTypeinvalid input: '<'ResourceAdapterType>
    • removeBeanValidationGroups

      ResourceAdapterType<T> removeBeanValidationGroups()
      Removes the bean-validation-groups element
      Returns:
      the current instance of ResourceAdapterType
    • bootstrapContext

      ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
      Sets the bootstrap-context element
      Parameters:
      bootstrapContext - the value for the element bootstrap-context
      Returns:
      the current instance of ResourceAdapterType
    • getBootstrapContext

      String getBootstrapContext()
      Returns the bootstrap-context element
      Returns:
      the node defined for the element bootstrap-context
    • removeBootstrapContext

      ResourceAdapterType<T> removeBootstrapContext()
      Removes the bootstrap-context 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
    • createConfigProperty

      ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty()
      Creates a new config-property element
      Returns:
      the new created instance of ConfigPropertyTypeinvalid input: '<'ResourceAdapterType>
    • getAllConfigProperty

      List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()
      Returns all config-property elements
      Returns:
      list of config-property
    • removeAllConfigProperty

      ResourceAdapterType<T> removeAllConfigProperty()
      Removes all config-property elements
      Returns:
      the current instance of ConfigPropertyTypeinvalid input: '<'ResourceAdapterType>
    • transactionSupport

      ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
      Sets the transaction-support element
      Parameters:
      transactionSupport - the value for the element transaction-support
      Returns:
      the current instance of ResourceAdapterType
    • transactionSupport

      ResourceAdapterType<T> transactionSupport(String transactionSupport)
      Sets the transaction-support element
      Parameters:
      transactionSupport - the value for the element transaction-support
      Returns:
      the current instance of ResourceAdapterType
    • getTransactionSupport

      TransactionSupportType getTransactionSupport()
      Returns the transaction-support element
      Returns:
      the value found for the element transaction-support
    • getTransactionSupportAsString

      String getTransactionSupportAsString()
      Returns the transaction-support element
      Returns:
      the value found for the element transaction-support
    • removeTransactionSupport

      ResourceAdapterType<T> removeTransactionSupport()
      Removes the transaction-support attribute
      Returns:
      the current instance of ResourceAdapterType
    • getOrCreateWorkmanager

      WorkmanagerType<ResourceAdapterType<T>> getOrCreateWorkmanager()
      If not already created, a new workmanager element with the given value will be created. Otherwise, the existing workmanager element will be returned.
      Returns:
      a new or existing instance of WorkmanagerTypeinvalid input: '<'ResourceAdapterType>
    • removeWorkmanager

      ResourceAdapterType<T> removeWorkmanager()
      Removes the workmanager element
      Returns:
      the current instance of ResourceAdapterType
    • getOrCreateConnectionDefinitions

      ConnectionDefinitionsType<ResourceAdapterType<T>> getOrCreateConnectionDefinitions()
      If not already created, a new connection-definitions element with the given value will be created. Otherwise, the existing connection-definitions element will be returned.
      Returns:
      a new or existing instance of ConnectionDefinitionsTypeinvalid input: '<'ResourceAdapterType>
    • removeConnectionDefinitions

      ResourceAdapterType<T> removeConnectionDefinitions()
      Removes the connection-definitions element
      Returns:
      the current instance of ResourceAdapterType
    • getOrCreateAdminObjects

      AdminObjectsType<ResourceAdapterType<T>> getOrCreateAdminObjects()
      If not already created, a new admin-objects element with the given value will be created. Otherwise, the existing admin-objects element will be returned.
      Returns:
      a new or existing instance of AdminObjectsTypeinvalid input: '<'ResourceAdapterType>
    • removeAdminObjects

      ResourceAdapterType<T> removeAdminObjects()
      Removes the admin-objects element
      Returns:
      the current instance of ResourceAdapterType
    • 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