public interface DataSourceType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
data-sourceType xsd type| Type | Property and Description |
|---|---|
PropertyType<DataSourceType<T>> |
create
Creates a new
property element |
DataSourceType<T> |
removeAll
Removes all
property elements |
| Modifier and Type | Method and Description |
|---|---|
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 |
String |
getId()
Returns the
id attribute |
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> |
id(String id)
Sets the
id attribute |
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> |
removeId()
Removes the
id attribute |
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 |
property elementPropertyType> property elementsPropertyType> DataSourceType<T> description(String description)
description elementdescription - the value for the element descriptionDataSourceTypeString getDescription()
description elementdescriptionDataSourceType<T> removeDescription()
description elementDataSourceTypeDataSourceType<T> name(String name)
name elementname - the value for the element nameDataSourceTypeString getName()
name elementnameDataSourceType<T> removeName()
name elementDataSourceTypeDataSourceType<T> className(String className)
class-name elementclassName - the value for the element class-nameDataSourceTypeString getClassName()
class-name elementclass-nameDataSourceType<T> removeClassName()
class-name elementDataSourceTypeDataSourceType<T> serverName(String serverName)
server-name elementserverName - the value for the element server-nameDataSourceTypeString getServerName()
server-name elementserver-nameDataSourceType<T> removeServerName()
server-name elementDataSourceTypeDataSourceType<T> portNumber(Integer portNumber)
port-number elementportNumber - the value for the element port-numberDataSourceTypeInteger getPortNumber()
port-number elementport-numberDataSourceType<T> removePortNumber()
port-number elementDataSourceTypeDataSourceType<T> databaseName(String databaseName)
database-name elementdatabaseName - the value for the element database-nameDataSourceTypeString getDatabaseName()
database-name elementdatabase-nameDataSourceType<T> removeDatabaseName()
database-name elementDataSourceTypeDataSourceType<T> url(String url)
url elementurl - the value for the element urlDataSourceTypeString getUrl()
url elementurlDataSourceType<T> removeUrl()
url elementDataSourceTypeDataSourceType<T> user(String user)
user elementuser - the value for the element userDataSourceTypeString getUser()
user elementuserDataSourceType<T> removeUser()
user elementDataSourceTypeDataSourceType<T> password(String password)
password elementpassword - the value for the element passwordDataSourceTypeString getPassword()
password elementpasswordDataSourceType<T> removePassword()
password elementDataSourceTypePropertyType<DataSourceType<T>> getOrCreateProperty()
property element will be created and returned.
Otherwise, the first existing property element will be returned.propertyPropertyType<DataSourceType<T>> createProperty()
property elementPropertyType> List<PropertyType<DataSourceType<T>>> getAllProperty()
property elementspropertyDataSourceType<T> removeAllProperty()
property elementsPropertyType> DataSourceType<T> loginTimeout(Integer loginTimeout)
login-timeout elementloginTimeout - the value for the element login-timeoutDataSourceTypeInteger getLoginTimeout()
login-timeout elementlogin-timeoutDataSourceType<T> removeLoginTimeout()
login-timeout elementDataSourceTypeDataSourceType<T> transactional(Boolean transactional)
transactional elementtransactional - the value for the element transactionalDataSourceTypeBoolean isTransactional()
transactional elementtransactionalDataSourceType<T> removeTransactional()
transactional elementDataSourceTypeDataSourceType<T> isolationLevel(IsolationLevelType isolationLevel)
isolation-level elementisolationLevel - the value for the element isolation-levelDataSourceTypeDataSourceType<T> isolationLevel(String isolationLevel)
isolation-level elementisolationLevel - the value for the element isolation-levelDataSourceTypeIsolationLevelType getIsolationLevel()
isolation-level elementisolation-levelString getIsolationLevelAsString()
isolation-level elementisolation-levelDataSourceType<T> removeIsolationLevel()
isolation-level attributeDataSourceTypeDataSourceType<T> initialPoolSize(Integer initialPoolSize)
initial-pool-size elementinitialPoolSize - the value for the element initial-pool-sizeDataSourceTypeInteger getInitialPoolSize()
initial-pool-size elementinitial-pool-sizeDataSourceType<T> removeInitialPoolSize()
initial-pool-size elementDataSourceTypeDataSourceType<T> maxPoolSize(Integer maxPoolSize)
max-pool-size elementmaxPoolSize - the value for the element max-pool-sizeDataSourceTypeInteger getMaxPoolSize()
max-pool-size elementmax-pool-sizeDataSourceType<T> removeMaxPoolSize()
max-pool-size elementDataSourceTypeDataSourceType<T> minPoolSize(Integer minPoolSize)
min-pool-size elementminPoolSize - the value for the element min-pool-sizeDataSourceTypeInteger getMinPoolSize()
min-pool-size elementmin-pool-sizeDataSourceType<T> removeMinPoolSize()
min-pool-size elementDataSourceTypeDataSourceType<T> maxIdleTime(Integer maxIdleTime)
max-idle-time elementmaxIdleTime - the value for the element max-idle-timeDataSourceTypeInteger getMaxIdleTime()
max-idle-time elementmax-idle-timeDataSourceType<T> removeMaxIdleTime()
max-idle-time elementDataSourceTypeDataSourceType<T> maxStatements(Integer maxStatements)
max-statements elementmaxStatements - the value for the element max-statementsDataSourceTypeInteger getMaxStatements()
max-statements elementmax-statementsDataSourceType<T> removeMaxStatements()
max-statements elementDataSourceTypeDataSourceType<T> id(String id)
id attributeid - the value for the attribute idDataSourceTypeString getId()
id attributeidDataSourceType<T> removeId()
id attributeDataSourceTypeCopyright © 2013 IronJacamar (http://www.ironjacamar.org)