|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceType<T>
This interface defines the contract for the data-sourceType
xsd type
Original Documentation:
Configuration of a DataSource.
Method Summary | |
---|---|
java.lang.String |
getClassName()
Returns the class-name element |
java.lang.String |
getDatabaseName()
Returns the database-name element |
java.lang.String |
getDescription()
Returns the description element |
java.lang.Integer |
getInitialPoolSize()
Returns the initial-pool-size element |
IsolationLevelType |
getIsolationLevel()
Returns the isolation-level element |
java.lang.String |
getIsolationLevelAsString()
Returns the isolation-level element |
java.lang.Integer |
getLoginTimeout()
Returns the login-timeout element |
java.lang.Integer |
getMaxIdleTime()
Returns the max-idle-time element |
java.lang.Integer |
getMaxPoolSize()
Returns the max-pool-size element |
java.lang.Integer |
getMaxStatements()
Returns the max-statements element |
java.lang.Integer |
getMinPoolSize()
Returns the min-pool-size element |
java.lang.String |
getName()
Returns the name element |
java.lang.String |
getPassword()
Returns the password element |
java.lang.Integer |
getPortNumber()
Returns the port-number element |
java.util.List<PropertyType<DataSourceType<T>>> |
getPropertyList()
Returns all property elements |
java.lang.String |
getServerName()
Returns the server-name element |
java.lang.String |
getUrl()
Returns the url element |
java.lang.String |
getUser()
Returns the user element |
java.lang.Boolean |
isTransactional()
Returns the transactional element |
PropertyType<DataSourceType<T>> |
property()
Returns the property 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> |
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> |
setClassName(java.lang.String className)
If not already created, a new class-name element with the given value will be created. |
DataSourceType<T> |
setDatabaseName(java.lang.String databaseName)
If not already created, a new database-name element with the given value will be created. |
DataSourceType<T> |
setDescription(java.lang.String description)
If not already created, a new description element with the given value will be created. |
DataSourceType<T> |
setInitialPoolSize(java.lang.Integer initialPoolSize)
If not already created, a new initial-pool-size element with the given value will be created. |
DataSourceType<T> |
setIsolationLevel(IsolationLevelType isolationLevel)
If not already created, a new isolation-level element with the given value will be created. |
DataSourceType<T> |
setIsolationLevel(java.lang.String isolationLevel)
If not already created, a new isolation-level element with the given value will be created. |
DataSourceType<T> |
setLoginTimeout(java.lang.Integer loginTimeout)
If not already created, a new login-timeout element with the given value will be created. |
DataSourceType<T> |
setMaxIdleTime(java.lang.Integer maxIdleTime)
If not already created, a new max-idle-time element with the given value will be created. |
DataSourceType<T> |
setMaxPoolSize(java.lang.Integer maxPoolSize)
If not already created, a new max-pool-size element with the given value will be created. |
DataSourceType<T> |
setMaxStatements(java.lang.Integer maxStatements)
If not already created, a new max-statements element with the given value will be created. |
DataSourceType<T> |
setMinPoolSize(java.lang.Integer minPoolSize)
If not already created, a new min-pool-size element with the given value will be created. |
DataSourceType<T> |
setName(java.lang.String name)
If not already created, a new name element with the given value will be created. |
DataSourceType<T> |
setPassword(java.lang.String password)
If not already created, a new password element with the given value will be created. |
DataSourceType<T> |
setPortNumber(java.lang.Integer portNumber)
If not already created, a new port-number element with the given value will be created. |
DataSourceType<T> |
setServerName(java.lang.String serverName)
If not already created, a new server-name element with the given value will be created. |
DataSourceType<T> |
setTransactional(java.lang.Boolean transactional)
If not already created, a new transactional element with the given value will be created. |
DataSourceType<T> |
setUrl(java.lang.String url)
If not already created, a new url element with the given value will be created. |
DataSourceType<T> |
setUser(java.lang.String user)
If not already created, a new user element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
DataSourceType<T> setDescription(java.lang.String description)
description
element with the given value will be created.
Otherwise, the existing description
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeDescription()
description
element
DataSourceType
java.lang.String getDescription()
description
element
description
DataSourceType<T> setName(java.lang.String name)
name
element with the given value will be created.
Otherwise, the existing name
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeName()
name
element
DataSourceType
java.lang.String getName()
name
element
name
DataSourceType<T> setClassName(java.lang.String className)
class-name
element with the given value will be created.
Otherwise, the existing class-name
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeClassName()
class-name
element
DataSourceType
java.lang.String getClassName()
class-name
element
class-name
DataSourceType<T> setServerName(java.lang.String serverName)
server-name
element with the given value will be created.
Otherwise, the existing server-name
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeServerName()
server-name
element
DataSourceType
java.lang.String getServerName()
server-name
element
server-name
DataSourceType<T> setPortNumber(java.lang.Integer portNumber)
port-number
element with the given value will be created.
Otherwise, the existing port-number
element will be updated with the given value.
DataSourceType
DataSourceType<T> removePortNumber()
port-number
element
DataSourceType
java.lang.Integer getPortNumber()
port-number
element
port-number
DataSourceType<T> setDatabaseName(java.lang.String databaseName)
database-name
element with the given value will be created.
Otherwise, the existing database-name
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeDatabaseName()
database-name
element
DataSourceType
java.lang.String getDatabaseName()
database-name
element
database-name
DataSourceType<T> setUrl(java.lang.String url)
url
element with the given value will be created.
Otherwise, the existing url
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeUrl()
url
element
DataSourceType
java.lang.String getUrl()
url
element
url
DataSourceType<T> setUser(java.lang.String user)
user
element with the given value will be created.
Otherwise, the existing user
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeUser()
user
element
DataSourceType
java.lang.String getUser()
user
element
user
DataSourceType<T> setPassword(java.lang.String password)
password
element with the given value will be created.
Otherwise, the existing password
element will be updated with the given value.
DataSourceType
DataSourceType<T> removePassword()
password
element
DataSourceType
java.lang.String getPassword()
password
element
password
DataSourceType<T> removeAllProperty()
property
elements
DataSourceType
PropertyType<DataSourceType<T>> property()
property
element
property
java.util.List<PropertyType<DataSourceType<T>>> getPropertyList()
property
elements
property
DataSourceType<T> setLoginTimeout(java.lang.Integer loginTimeout)
login-timeout
element with the given value will be created.
Otherwise, the existing login-timeout
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeLoginTimeout()
login-timeout
element
DataSourceType
java.lang.Integer getLoginTimeout()
login-timeout
element
login-timeout
DataSourceType<T> setTransactional(java.lang.Boolean transactional)
transactional
element with the given value will be created.
Otherwise, the existing transactional
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeTransactional()
transactional
element
DataSourceType
java.lang.Boolean isTransactional()
transactional
element
transactional
DataSourceType<T> setIsolationLevel(IsolationLevelType isolationLevel)
isolation-level
element with the given value will be created.
Otherwise, the existing isolation-level
element will be updated with the given value.
DataSourceType
DataSourceType<T> setIsolationLevel(java.lang.String isolationLevel)
isolation-level
element with the given value will be created.
Otherwise, the existing isolation-level
element will be updated with the given value.
DataSourceType
IsolationLevelType getIsolationLevel()
isolation-level
element
isolation-level
java.lang.String getIsolationLevelAsString()
isolation-level
element
isolation-level
DataSourceType<T> setInitialPoolSize(java.lang.Integer initialPoolSize)
initial-pool-size
element with the given value will be created.
Otherwise, the existing initial-pool-size
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeInitialPoolSize()
initial-pool-size
element
DataSourceType
java.lang.Integer getInitialPoolSize()
initial-pool-size
element
initial-pool-size
DataSourceType<T> setMaxPoolSize(java.lang.Integer maxPoolSize)
max-pool-size
element with the given value will be created.
Otherwise, the existing max-pool-size
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeMaxPoolSize()
max-pool-size
element
DataSourceType
java.lang.Integer getMaxPoolSize()
max-pool-size
element
max-pool-size
DataSourceType<T> setMinPoolSize(java.lang.Integer minPoolSize)
min-pool-size
element with the given value will be created.
Otherwise, the existing min-pool-size
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeMinPoolSize()
min-pool-size
element
DataSourceType
java.lang.Integer getMinPoolSize()
min-pool-size
element
min-pool-size
DataSourceType<T> setMaxIdleTime(java.lang.Integer maxIdleTime)
max-idle-time
element with the given value will be created.
Otherwise, the existing max-idle-time
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeMaxIdleTime()
max-idle-time
element
DataSourceType
java.lang.Integer getMaxIdleTime()
max-idle-time
element
max-idle-time
DataSourceType<T> setMaxStatements(java.lang.Integer maxStatements)
max-statements
element with the given value will be created.
Otherwise, the existing max-statements
element will be updated with the given value.
DataSourceType
DataSourceType<T> removeMaxStatements()
max-statements
element
DataSourceType
java.lang.Integer getMaxStatements()
max-statements
element
max-statements
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |