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