|
||||||||||
| 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.
DataSourceTypeDataSourceType<T> removeDescription()
description element
DataSourceTypejava.lang.String getDescription()
description element
descriptionDataSourceType<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.
DataSourceTypeDataSourceType<T> removeName()
name element
DataSourceTypejava.lang.String getName()
name element
nameDataSourceType<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.
DataSourceTypeDataSourceType<T> removeClassName()
class-name element
DataSourceTypejava.lang.String getClassName()
class-name element
class-nameDataSourceType<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.
DataSourceTypeDataSourceType<T> removeServerName()
server-name element
DataSourceTypejava.lang.String getServerName()
server-name element
server-nameDataSourceType<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.
DataSourceTypeDataSourceType<T> removePortNumber()
port-number element
DataSourceTypejava.lang.Integer getPortNumber()
port-number element
port-numberDataSourceType<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.
DataSourceTypeDataSourceType<T> removeDatabaseName()
database-name element
DataSourceTypejava.lang.String getDatabaseName()
database-name element
database-nameDataSourceType<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.
DataSourceTypeDataSourceType<T> removeUrl()
url element
DataSourceTypejava.lang.String getUrl()
url element
urlDataSourceType<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.
DataSourceTypeDataSourceType<T> removeUser()
user element
DataSourceTypejava.lang.String getUser()
user element
userDataSourceType<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.
DataSourceTypeDataSourceType<T> removePassword()
password element
DataSourceTypejava.lang.String getPassword()
password element
passwordDataSourceType<T> removeAllProperty()
property elements
DataSourceTypePropertyType<DataSourceType<T>> property()
property element
propertyjava.util.List<PropertyType<DataSourceType<T>>> getPropertyList()
property elements
propertyDataSourceType<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.
DataSourceTypeDataSourceType<T> removeLoginTimeout()
login-timeout element
DataSourceTypejava.lang.Integer getLoginTimeout()
login-timeout element
login-timeoutDataSourceType<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.
DataSourceTypeDataSourceType<T> removeTransactional()
transactional element
DataSourceTypejava.lang.Boolean isTransactional()
transactional element
transactionalDataSourceType<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.
DataSourceTypeDataSourceType<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.
DataSourceTypeIsolationLevelType getIsolationLevel()
isolation-level element
isolation-leveljava.lang.String getIsolationLevelAsString()
isolation-level element
isolation-levelDataSourceType<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.
DataSourceTypeDataSourceType<T> removeInitialPoolSize()
initial-pool-size element
DataSourceTypejava.lang.Integer getInitialPoolSize()
initial-pool-size element
initial-pool-sizeDataSourceType<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.
DataSourceTypeDataSourceType<T> removeMaxPoolSize()
max-pool-size element
DataSourceTypejava.lang.Integer getMaxPoolSize()
max-pool-size element
max-pool-sizeDataSourceType<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.
DataSourceTypeDataSourceType<T> removeMinPoolSize()
min-pool-size element
DataSourceTypejava.lang.Integer getMinPoolSize()
min-pool-size element
min-pool-sizeDataSourceType<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.
DataSourceTypeDataSourceType<T> removeMaxIdleTime()
max-idle-time element
DataSourceTypejava.lang.Integer getMaxIdleTime()
max-idle-time element
max-idle-timeDataSourceType<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.
DataSourceTypeDataSourceType<T> removeMaxStatements()
max-statements element
DataSourceTypejava.lang.Integer getMaxStatements()
max-statements element
max-statements
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||