|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee6.DataSourceTypeImpl<T>
public class DataSourceTypeImpl<T>
This class implements the data-sourceType xsd type
Original Documentation:
Configuration of a DataSource.
| Constructor Summary | |
|---|---|
DataSourceTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
DataSourceTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| 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. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public DataSourceTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public 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.
setDescription in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeDescription()
description element
removeDescription in interface DataSourceType<T>DataSourceTypepublic java.lang.String getDescription()
description element
getDescription in interface DataSourceType<T>descriptionpublic 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.
setName in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeName()
name element
removeName in interface DataSourceType<T>DataSourceTypepublic java.lang.String getName()
name element
getName in interface DataSourceType<T>namepublic 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.
setClassName in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeClassName()
class-name element
removeClassName in interface DataSourceType<T>DataSourceTypepublic java.lang.String getClassName()
class-name element
getClassName in interface DataSourceType<T>class-namepublic 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.
setServerName in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeServerName()
server-name element
removeServerName in interface DataSourceType<T>DataSourceTypepublic java.lang.String getServerName()
server-name element
getServerName in interface DataSourceType<T>server-namepublic 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.
setPortNumber in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removePortNumber()
port-number element
removePortNumber in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getPortNumber()
port-number element
getPortNumber in interface DataSourceType<T>port-numberpublic 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.
setDatabaseName in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeDatabaseName()
database-name element
removeDatabaseName in interface DataSourceType<T>DataSourceTypepublic java.lang.String getDatabaseName()
database-name element
getDatabaseName in interface DataSourceType<T>database-namepublic 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.
setUrl in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeUrl()
url element
removeUrl in interface DataSourceType<T>DataSourceTypepublic java.lang.String getUrl()
url element
getUrl in interface DataSourceType<T>urlpublic 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.
setUser in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeUser()
user element
removeUser in interface DataSourceType<T>DataSourceTypepublic java.lang.String getUser()
user element
getUser in interface DataSourceType<T>userpublic 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.
setPassword in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removePassword()
password element
removePassword in interface DataSourceType<T>DataSourceTypepublic java.lang.String getPassword()
password element
getPassword in interface DataSourceType<T>passwordpublic DataSourceType<T> removeAllProperty()
property elements
removeAllProperty in interface DataSourceType<T>DataSourceTypepublic PropertyType<DataSourceType<T>> property()
property element
property in interface DataSourceType<T>propertypublic java.util.List<PropertyType<DataSourceType<T>>> getPropertyList()
property elements
getPropertyList in interface DataSourceType<T>propertypublic 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.
setLoginTimeout in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeLoginTimeout()
login-timeout element
removeLoginTimeout in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getLoginTimeout()
login-timeout element
getLoginTimeout in interface DataSourceType<T>login-timeoutpublic 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.
setTransactional in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeTransactional()
transactional element
removeTransactional in interface DataSourceType<T>DataSourceTypepublic java.lang.Boolean isTransactional()
transactional element
isTransactional in interface DataSourceType<T>transactionalpublic 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.
setIsolationLevel in interface DataSourceType<T>DataSourceTypepublic 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.
setIsolationLevel in interface DataSourceType<T>DataSourceTypepublic IsolationLevelType getIsolationLevel()
isolation-level element
getIsolationLevel in interface DataSourceType<T>isolation-levelpublic java.lang.String getIsolationLevelAsString()
isolation-level element
getIsolationLevelAsString in interface DataSourceType<T>isolation-levelpublic 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.
setInitialPoolSize in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeInitialPoolSize()
initial-pool-size element
removeInitialPoolSize in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getInitialPoolSize()
initial-pool-size element
getInitialPoolSize in interface DataSourceType<T>initial-pool-sizepublic 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.
setMaxPoolSize in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeMaxPoolSize()
max-pool-size element
removeMaxPoolSize in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getMaxPoolSize()
max-pool-size element
getMaxPoolSize in interface DataSourceType<T>max-pool-sizepublic 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.
setMinPoolSize in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeMinPoolSize()
min-pool-size element
removeMinPoolSize in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getMinPoolSize()
min-pool-size element
getMinPoolSize in interface DataSourceType<T>min-pool-sizepublic 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.
setMaxIdleTime in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeMaxIdleTime()
max-idle-time element
removeMaxIdleTime in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getMaxIdleTime()
max-idle-time element
getMaxIdleTime in interface DataSourceType<T>max-idle-timepublic 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.
setMaxStatements in interface DataSourceType<T>DataSourceTypepublic DataSourceType<T> removeMaxStatements()
max-statements element
removeMaxStatements in interface DataSourceType<T>DataSourceTypepublic java.lang.Integer getMaxStatements()
max-statements element
getMaxStatements in interface DataSourceType<T>max-statements
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||