ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.javaee6
Interface DataSourceType<T>

All Superinterfaces:
Child<T>

public interface DataSourceType<T>
extends Child<T>

This interface defines the contract for the data-sourceType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 DataSourceType<T> className(String className)
          Sets the class-name element
 PropertyType<DataSourceType<T>> createProperty()
          Creates a new property element
 DataSourceType<T> databaseName(String databaseName)
          Sets the database-name element
 DataSourceType<T> description(String description)
          Sets the description element
 List<PropertyType<DataSourceType<T>>> getAllProperty()
          Returns all property elements
 String getClassName()
          Returns the class-name element
 String getDatabaseName()
          Returns the database-name element
 String getDescription()
          Returns the description element
 Integer getInitialPoolSize()
          Returns the initial-pool-size element
 IsolationLevelType getIsolationLevel()
          Returns the isolation-level element
 String getIsolationLevelAsString()
          Returns the isolation-level element
 Integer getLoginTimeout()
          Returns the login-timeout element
 Integer getMaxIdleTime()
          Returns the max-idle-time element
 Integer getMaxPoolSize()
          Returns the max-pool-size element
 Integer getMaxStatements()
          Returns the max-statements element
 Integer getMinPoolSize()
          Returns the min-pool-size element
 String getName()
          Returns the name element
 PropertyType<DataSourceType<T>> getOrCreateProperty()
          If not already created, a new property element will be created and returned.
 String getPassword()
          Returns the password element
 Integer getPortNumber()
          Returns the port-number element
 String getServerName()
          Returns the server-name element
 String getUrl()
          Returns the url element
 String getUser()
          Returns the user element
 DataSourceType<T> initialPoolSize(Integer initialPoolSize)
          Sets the initial-pool-size element
 DataSourceType<T> isolationLevel(IsolationLevelType isolationLevel)
          Sets the isolation-level element
 DataSourceType<T> isolationLevel(String isolationLevel)
          Sets the isolation-level element
 Boolean isTransactional()
          Returns the transactional element
 DataSourceType<T> loginTimeout(Integer loginTimeout)
          Sets the login-timeout element
 DataSourceType<T> maxIdleTime(Integer maxIdleTime)
          Sets the max-idle-time element
 DataSourceType<T> maxPoolSize(Integer maxPoolSize)
          Sets the max-pool-size element
 DataSourceType<T> maxStatements(Integer maxStatements)
          Sets the max-statements element
 DataSourceType<T> minPoolSize(Integer minPoolSize)
          Sets the min-pool-size element
 DataSourceType<T> name(String name)
          Sets the name element
 DataSourceType<T> password(String password)
          Sets the password element
 DataSourceType<T> portNumber(Integer portNumber)
          Sets the port-number element
 DataSourceType<T> removeAllProperty()
          Removes all property elements
 DataSourceType<T> removeClassName()
          Removes the class-name element
 DataSourceType<T> removeDatabaseName()
          Removes the database-name element
 DataSourceType<T> removeDescription()
          Removes the description element
 DataSourceType<T> removeInitialPoolSize()
          Removes the initial-pool-size element
 DataSourceType<T> removeIsolationLevel()
          Removes the isolation-level attribute
 DataSourceType<T> removeLoginTimeout()
          Removes the login-timeout element
 DataSourceType<T> removeMaxIdleTime()
          Removes the max-idle-time element
 DataSourceType<T> removeMaxPoolSize()
          Removes the max-pool-size element
 DataSourceType<T> removeMaxStatements()
          Removes the max-statements element
 DataSourceType<T> removeMinPoolSize()
          Removes the min-pool-size element
 DataSourceType<T> removeName()
          Removes the name element
 DataSourceType<T> removePassword()
          Removes the password element
 DataSourceType<T> removePortNumber()
          Removes the port-number element
 DataSourceType<T> removeServerName()
          Removes the server-name element
 DataSourceType<T> removeTransactional()
          Removes the transactional element
 DataSourceType<T> removeUrl()
          Removes the url element
 DataSourceType<T> removeUser()
          Removes the user element
 DataSourceType<T> serverName(String serverName)
          Sets the server-name element
 DataSourceType<T> transactional(Boolean transactional)
          Sets the transactional element
 DataSourceType<T> url(String url)
          Sets the url element
 DataSourceType<T> user(String user)
          Sets the user element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

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>

getAllProperty

List<PropertyType<DataSourceType<T>>> getAllProperty()
Returns all property elements

Returns:
list of property

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

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.