Interface ConnectionDefinitionType<T>

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

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

      • managedconnectionfactoryClass

        ConnectionDefinitionType<T> managedconnectionfactoryClass​(String managedconnectionfactoryClass)
        Sets the managedconnectionfactory-class element
        Parameters:
        managedconnectionfactoryClass - the value for the element managedconnectionfactory-class
        Returns:
        the current instance of ConnectionDefinitionType
      • getManagedconnectionfactoryClass

        String getManagedconnectionfactoryClass()
        Returns the managedconnectionfactory-class element
        Returns:
        the node defined for the element managedconnectionfactory-class
      • removeManagedconnectionfactoryClass

        ConnectionDefinitionType<T> removeManagedconnectionfactoryClass()
        Removes the managedconnectionfactory-class element
        Returns:
        the current instance of ConnectionDefinitionType
      • getOrCreateConfigProperty

        ConfigPropertyType<ConnectionDefinitionType<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

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

        ConnectionDefinitionType<T> connectionfactoryInterface​(String connectionfactoryInterface)
        Sets the connectionfactory-interface element
        Parameters:
        connectionfactoryInterface - the value for the element connectionfactory-interface
        Returns:
        the current instance of ConnectionDefinitionType
      • getConnectionfactoryInterface

        String getConnectionfactoryInterface()
        Returns the connectionfactory-interface element
        Returns:
        the node defined for the element connectionfactory-interface
      • removeConnectionfactoryInterface

        ConnectionDefinitionType<T> removeConnectionfactoryInterface()
        Removes the connectionfactory-interface element
        Returns:
        the current instance of ConnectionDefinitionType
      • connectionfactoryImplClass

        ConnectionDefinitionType<T> connectionfactoryImplClass​(String connectionfactoryImplClass)
        Sets the connectionfactory-impl-class element
        Parameters:
        connectionfactoryImplClass - the value for the element connectionfactory-impl-class
        Returns:
        the current instance of ConnectionDefinitionType
      • getConnectionfactoryImplClass

        String getConnectionfactoryImplClass()
        Returns the connectionfactory-impl-class element
        Returns:
        the node defined for the element connectionfactory-impl-class
      • removeConnectionfactoryImplClass

        ConnectionDefinitionType<T> removeConnectionfactoryImplClass()
        Removes the connectionfactory-impl-class element
        Returns:
        the current instance of ConnectionDefinitionType
      • connectionInterface

        ConnectionDefinitionType<T> connectionInterface​(String connectionInterface)
        Sets the connection-interface element
        Parameters:
        connectionInterface - the value for the element connection-interface
        Returns:
        the current instance of ConnectionDefinitionType
      • getConnectionInterface

        String getConnectionInterface()
        Returns the connection-interface element
        Returns:
        the node defined for the element connection-interface
      • removeConnectionInterface

        ConnectionDefinitionType<T> removeConnectionInterface()
        Removes the connection-interface element
        Returns:
        the current instance of ConnectionDefinitionType
      • connectionImplClass

        ConnectionDefinitionType<T> connectionImplClass​(String connectionImplClass)
        Sets the connection-impl-class element
        Parameters:
        connectionImplClass - the value for the element connection-impl-class
        Returns:
        the current instance of ConnectionDefinitionType
      • getConnectionImplClass

        String getConnectionImplClass()
        Returns the connection-impl-class element
        Returns:
        the node defined for the element connection-impl-class
      • removeConnectionImplClass

        ConnectionDefinitionType<T> removeConnectionImplClass()
        Removes the connection-impl-class element
        Returns:
        the current instance of ConnectionDefinitionType
      • id

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

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

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