Interface ConnectionFactoryResourceType<T>

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

    public interface ConnectionFactoryResourceType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the connection-factory-resourceType xsd type
    • Method Detail

      • description

        ConnectionFactoryResourceType<T> description​(String description)
        Sets the description element
        Parameters:
        description - the value for the element description
        Returns:
        the current instance of ConnectionFactoryResourceType
      • getDescription

        String getDescription()
        Returns the description element
        Returns:
        the node defined for the element description
      • removeDescription

        ConnectionFactoryResourceType<T> removeDescription()
        Removes the description element
        Returns:
        the current instance of ConnectionFactoryResourceType
      • name

        ConnectionFactoryResourceType<T> name​(String name)
        Sets the name element
        Parameters:
        name - the value for the element name
        Returns:
        the current instance of ConnectionFactoryResourceType
      • getName

        String getName()
        Returns the name element
        Returns:
        the node defined for the element name
      • className

        ConnectionFactoryResourceType<T> className​(String className)
        Sets the class-name element
        Parameters:
        className - the value for the element class-name
        Returns:
        the current instance of ConnectionFactoryResourceType
      • getClassName

        String getClassName()
        Returns the class-name element
        Returns:
        the node defined for the element class-name
      • removeClassName

        ConnectionFactoryResourceType<T> removeClassName()
        Removes the class-name element
        Returns:
        the current instance of ConnectionFactoryResourceType
      • resourceAdapter

        ConnectionFactoryResourceType<T> resourceAdapter​(String resourceAdapter)
        Sets the resource-adapter element
        Parameters:
        resourceAdapter - the value for the element resource-adapter
        Returns:
        the current instance of ConnectionFactoryResourceType
      • getResourceAdapter

        String getResourceAdapter()
        Returns the resource-adapter element
        Returns:
        the node defined for the element resource-adapter
      • removeResourceAdapter

        ConnectionFactoryResourceType<T> removeResourceAdapter()
        Removes the resource-adapter element
        Returns:
        the current instance of ConnectionFactoryResourceType
      • maxPoolSize

        ConnectionFactoryResourceType<T> maxPoolSize​(Integer maxPoolSize)
        Sets the max-pool-size element
        Parameters:
        maxPoolSize - the value for the element max-pool-size
        Returns:
        the current instance of ConnectionFactoryResourceType
      • getMaxPoolSize

        Integer getMaxPoolSize()
        Returns the max-pool-size element
        Returns:
        the node defined for the element max-pool-size
      • removeMaxPoolSize

        ConnectionFactoryResourceType<T> removeMaxPoolSize()
        Removes the max-pool-size element
        Returns:
        the current instance of ConnectionFactoryResourceType
      • minPoolSize

        ConnectionFactoryResourceType<T> minPoolSize​(Integer minPoolSize)
        Sets the min-pool-size element
        Parameters:
        minPoolSize - the value for the element min-pool-size
        Returns:
        the current instance of ConnectionFactoryResourceType
      • getMinPoolSize

        Integer getMinPoolSize()
        Returns the min-pool-size element
        Returns:
        the node defined for the element min-pool-size
      • removeMinPoolSize

        ConnectionFactoryResourceType<T> removeMinPoolSize()
        Removes the min-pool-size element
        Returns:
        the current instance of ConnectionFactoryResourceType
      • transactionSupport

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

        ConnectionFactoryResourceType<T> transactionSupport​(String transactionSupport)
        Sets the transaction-support element
        Parameters:
        transactionSupport - the value for the element transaction-support
        Returns:
        the current instance of ConnectionFactoryResourceType
      • 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

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

        PropertyType<ConnectionFactoryResourceType<T>> getOrCreateProperty()
        If not already created, a new property element will be created and returned. Otherwise, the first existing property element will be returned.
        Returns:
        the instance defined for the element property
      • removeAllProperty

        ConnectionFactoryResourceType<T> removeAllProperty()
        Removes all property elements
        Returns:
        the current instance of PropertyType>
      • id

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

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