|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
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
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 |
---|
DataSourceType<T> description(String description)
description
element
description
- the value for the element description
DataSourceType
String getDescription()
description
element
description
DataSourceType<T> removeDescription()
description
element
DataSourceType
DataSourceType<T> name(String name)
name
element
name
- the value for the element name
DataSourceType
String getName()
name
element
name
DataSourceType<T> removeName()
name
element
DataSourceType
DataSourceType<T> className(String className)
class-name
element
className
- the value for the element class-name
DataSourceType
String getClassName()
class-name
element
class-name
DataSourceType<T> removeClassName()
class-name
element
DataSourceType
DataSourceType<T> serverName(String serverName)
server-name
element
serverName
- the value for the element server-name
DataSourceType
String getServerName()
server-name
element
server-name
DataSourceType<T> removeServerName()
server-name
element
DataSourceType
DataSourceType<T> portNumber(Integer portNumber)
port-number
element
portNumber
- the value for the element port-number
DataSourceType
Integer getPortNumber()
port-number
element
port-number
DataSourceType<T> removePortNumber()
port-number
element
DataSourceType
DataSourceType<T> databaseName(String databaseName)
database-name
element
databaseName
- the value for the element database-name
DataSourceType
String getDatabaseName()
database-name
element
database-name
DataSourceType<T> removeDatabaseName()
database-name
element
DataSourceType
DataSourceType<T> url(String url)
url
element
url
- the value for the element url
DataSourceType
String getUrl()
url
element
url
DataSourceType<T> removeUrl()
url
element
DataSourceType
DataSourceType<T> user(String user)
user
element
user
- the value for the element user
DataSourceType
String getUser()
user
element
user
DataSourceType<T> removeUser()
user
element
DataSourceType
DataSourceType<T> password(String password)
password
element
password
- the value for the element password
DataSourceType
String getPassword()
password
element
password
DataSourceType<T> removePassword()
password
element
DataSourceType
PropertyType<DataSourceType<T>> getOrCreateProperty()
property
element will be created and returned.
Otherwise, the first existing property
element will be returned.
property
PropertyType<DataSourceType<T>> createProperty()
property
element
PropertyType>
List<PropertyType<DataSourceType<T>>> getAllProperty()
property
elements
property
DataSourceType<T> removeAllProperty()
property
elements
PropertyType>
DataSourceType<T> loginTimeout(Integer loginTimeout)
login-timeout
element
loginTimeout
- the value for the element login-timeout
DataSourceType
Integer getLoginTimeout()
login-timeout
element
login-timeout
DataSourceType<T> removeLoginTimeout()
login-timeout
element
DataSourceType
DataSourceType<T> transactional(Boolean transactional)
transactional
element
transactional
- the value for the element transactional
DataSourceType
Boolean isTransactional()
transactional
element
transactional
DataSourceType<T> removeTransactional()
transactional
element
DataSourceType
DataSourceType<T> isolationLevel(IsolationLevelType isolationLevel)
isolation-level
element
isolationLevel
- the value for the element isolation-level
DataSourceType
DataSourceType<T> isolationLevel(String isolationLevel)
isolation-level
element
isolationLevel
- the value for the element isolation-level
DataSourceType
IsolationLevelType getIsolationLevel()
isolation-level
element
isolation-level
String getIsolationLevelAsString()
isolation-level
element
isolation-level
DataSourceType<T> removeIsolationLevel()
isolation-level
attribute
DataSourceType
DataSourceType<T> initialPoolSize(Integer initialPoolSize)
initial-pool-size
element
initialPoolSize
- the value for the element initial-pool-size
DataSourceType
Integer getInitialPoolSize()
initial-pool-size
element
initial-pool-size
DataSourceType<T> removeInitialPoolSize()
initial-pool-size
element
DataSourceType
DataSourceType<T> maxPoolSize(Integer maxPoolSize)
max-pool-size
element
maxPoolSize
- the value for the element max-pool-size
DataSourceType
Integer getMaxPoolSize()
max-pool-size
element
max-pool-size
DataSourceType<T> removeMaxPoolSize()
max-pool-size
element
DataSourceType
DataSourceType<T> minPoolSize(Integer minPoolSize)
min-pool-size
element
minPoolSize
- the value for the element min-pool-size
DataSourceType
Integer getMinPoolSize()
min-pool-size
element
min-pool-size
DataSourceType<T> removeMinPoolSize()
min-pool-size
element
DataSourceType
DataSourceType<T> maxIdleTime(Integer maxIdleTime)
max-idle-time
element
maxIdleTime
- the value for the element max-idle-time
DataSourceType
Integer getMaxIdleTime()
max-idle-time
element
max-idle-time
DataSourceType<T> removeMaxIdleTime()
max-idle-time
element
DataSourceType
DataSourceType<T> maxStatements(Integer maxStatements)
max-statements
element
maxStatements
- the value for the element max-statements
DataSourceType
Integer getMaxStatements()
max-statements
element
max-statements
DataSourceType<T> removeMaxStatements()
max-statements
element
DataSourceType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |