Interface DataSourceType<T>

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

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

      • description

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

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

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

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

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

        DataSourceType<T> removeName()
        Removes the name element
        Returns:
        the current instance of DataSourceType
      • className

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

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

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

        DataSourceType<T> serverName​(String serverName)
        Sets the server-name element
        Parameters:
        serverName - the value for the element server-name
        Returns:
        the current instance of DataSourceType
      • getServerName

        String getServerName()
        Returns the server-name element
        Returns:
        the node defined for the element server-name
      • removeServerName

        DataSourceType<T> removeServerName()
        Removes the server-name element
        Returns:
        the current instance of DataSourceType
      • portNumber

        DataSourceType<T> portNumber​(Integer portNumber)
        Sets the port-number element
        Parameters:
        portNumber - the value for the element port-number
        Returns:
        the current instance of DataSourceType
      • getPortNumber

        Integer getPortNumber()
        Returns the port-number element
        Returns:
        the node defined for the element port-number
      • removePortNumber

        DataSourceType<T> removePortNumber()
        Removes the port-number element
        Returns:
        the current instance of DataSourceType
      • databaseName

        DataSourceType<T> databaseName​(String databaseName)
        Sets the database-name element
        Parameters:
        databaseName - the value for the element database-name
        Returns:
        the current instance of DataSourceType
      • getDatabaseName

        String getDatabaseName()
        Returns the database-name element
        Returns:
        the node defined for the element database-name
      • removeDatabaseName

        DataSourceType<T> removeDatabaseName()
        Removes the database-name element
        Returns:
        the current instance of DataSourceType
      • url

        DataSourceType<T> url​(String url)
        Sets the url element
        Parameters:
        url - the value for the element url
        Returns:
        the current instance of DataSourceType
      • getUrl

        String getUrl()
        Returns the url element
        Returns:
        the node defined for the element url
      • removeUrl

        DataSourceType<T> removeUrl()
        Removes the url element
        Returns:
        the current instance of DataSourceType
      • user

        DataSourceType<T> user​(String user)
        Sets the user element
        Parameters:
        user - the value for the element user
        Returns:
        the current instance of DataSourceType
      • getUser

        String getUser()
        Returns the user element
        Returns:
        the node defined for the element user
      • removeUser

        DataSourceType<T> removeUser()
        Removes the user element
        Returns:
        the current instance of DataSourceType
      • password

        DataSourceType<T> password​(String password)
        Sets the password element
        Parameters:
        password - the value for the element password
        Returns:
        the current instance of DataSourceType
      • getPassword

        String getPassword()
        Returns the password element
        Returns:
        the node defined for the element password
      • removePassword

        DataSourceType<T> removePassword()
        Removes the password element
        Returns:
        the current instance of DataSourceType
      • getOrCreateProperty

        PropertyType<DataSourceType<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
      • createProperty

        PropertyType<DataSourceType<T>> createProperty()
        Creates a new property element
        Returns:
        the new created instance of PropertyType>
      • removeAllProperty

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

        DataSourceType<T> loginTimeout​(Integer loginTimeout)
        Sets the login-timeout element
        Parameters:
        loginTimeout - the value for the element login-timeout
        Returns:
        the current instance of DataSourceType
      • getLoginTimeout

        Integer getLoginTimeout()
        Returns the login-timeout element
        Returns:
        the node defined for the element login-timeout
      • removeLoginTimeout

        DataSourceType<T> removeLoginTimeout()
        Removes the login-timeout element
        Returns:
        the current instance of DataSourceType
      • transactional

        DataSourceType<T> transactional​(Boolean transactional)
        Sets the transactional element
        Parameters:
        transactional - the value for the element transactional
        Returns:
        the current instance of DataSourceType
      • isTransactional

        Boolean isTransactional()
        Returns the transactional element
        Returns:
        the node defined for the element transactional
      • removeTransactional

        DataSourceType<T> removeTransactional()
        Removes the transactional element
        Returns:
        the current instance of DataSourceType
      • isolationLevel

        DataSourceType<T> isolationLevel​(IsolationLevelType isolationLevel)
        Sets the isolation-level element
        Parameters:
        isolationLevel - the value for the element isolation-level
        Returns:
        the current instance of DataSourceType
      • isolationLevel

        DataSourceType<T> isolationLevel​(String isolationLevel)
        Sets the isolation-level element
        Parameters:
        isolationLevel - the value for the element isolation-level
        Returns:
        the current instance of DataSourceType
      • getIsolationLevel

        IsolationLevelType getIsolationLevel()
        Returns the isolation-level element
        Returns:
        the value found for the element isolation-level
      • getIsolationLevelAsString

        String getIsolationLevelAsString()
        Returns the isolation-level element
        Returns:
        the value found for the element isolation-level
      • removeIsolationLevel

        DataSourceType<T> removeIsolationLevel()
        Removes the isolation-level attribute
        Returns:
        the current instance of DataSourceType
      • initialPoolSize

        DataSourceType<T> initialPoolSize​(Integer initialPoolSize)
        Sets the initial-pool-size element
        Parameters:
        initialPoolSize - the value for the element initial-pool-size
        Returns:
        the current instance of DataSourceType
      • getInitialPoolSize

        Integer getInitialPoolSize()
        Returns the initial-pool-size element
        Returns:
        the node defined for the element initial-pool-size
      • removeInitialPoolSize

        DataSourceType<T> removeInitialPoolSize()
        Removes the initial-pool-size element
        Returns:
        the current instance of DataSourceType
      • maxPoolSize

        DataSourceType<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 DataSourceType
      • getMaxPoolSize

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

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

        DataSourceType<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 DataSourceType
      • getMinPoolSize

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

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

        DataSourceType<T> maxIdleTime​(Integer maxIdleTime)
        Sets the max-idle-time element
        Parameters:
        maxIdleTime - the value for the element max-idle-time
        Returns:
        the current instance of DataSourceType
      • getMaxIdleTime

        Integer getMaxIdleTime()
        Returns the max-idle-time element
        Returns:
        the node defined for the element max-idle-time
      • removeMaxIdleTime

        DataSourceType<T> removeMaxIdleTime()
        Removes the max-idle-time element
        Returns:
        the current instance of DataSourceType
      • maxStatements

        DataSourceType<T> maxStatements​(Integer maxStatements)
        Sets the max-statements element
        Parameters:
        maxStatements - the value for the element max-statements
        Returns:
        the current instance of DataSourceType
      • getMaxStatements

        Integer getMaxStatements()
        Returns the max-statements element
        Returns:
        the node defined for the element max-statements
      • removeMaxStatements

        DataSourceType<T> removeMaxStatements()
        Removes the max-statements element
        Returns:
        the current instance of DataSourceType
      • id

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

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

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