public interface DataSourceType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
data-sourceType
xsd typeType | 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 description
DataSourceType
String getDescription()
description
elementdescription
DataSourceType<T> removeDescription()
description
elementDataSourceType
DataSourceType<T> name(String name)
name
elementname
- the value for the element name
DataSourceType
String getName()
name
elementname
DataSourceType<T> removeName()
name
elementDataSourceType
DataSourceType<T> className(String className)
class-name
elementclassName
- the value for the element class-name
DataSourceType
String getClassName()
class-name
elementclass-name
DataSourceType<T> removeClassName()
class-name
elementDataSourceType
DataSourceType<T> serverName(String serverName)
server-name
elementserverName
- the value for the element server-name
DataSourceType
String getServerName()
server-name
elementserver-name
DataSourceType<T> removeServerName()
server-name
elementDataSourceType
DataSourceType<T> portNumber(Integer portNumber)
port-number
elementportNumber
- the value for the element port-number
DataSourceType
Integer getPortNumber()
port-number
elementport-number
DataSourceType<T> removePortNumber()
port-number
elementDataSourceType
DataSourceType<T> databaseName(String databaseName)
database-name
elementdatabaseName
- the value for the element database-name
DataSourceType
String getDatabaseName()
database-name
elementdatabase-name
DataSourceType<T> removeDatabaseName()
database-name
elementDataSourceType
DataSourceType<T> url(String url)
url
elementurl
- the value for the element url
DataSourceType
String getUrl()
url
elementurl
DataSourceType<T> removeUrl()
url
elementDataSourceType
DataSourceType<T> user(String user)
user
elementuser
- the value for the element user
DataSourceType
String getUser()
user
elementuser
DataSourceType<T> removeUser()
user
elementDataSourceType
DataSourceType<T> password(String password)
password
elementpassword
- the value for the element password
DataSourceType
String getPassword()
password
elementpassword
DataSourceType<T> removePassword()
password
elementDataSourceType
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
elementPropertyType>
List<PropertyType<DataSourceType<T>>> getAllProperty()
property
elementsproperty
DataSourceType<T> removeAllProperty()
property
elementsPropertyType>
DataSourceType<T> loginTimeout(Integer loginTimeout)
login-timeout
elementloginTimeout
- the value for the element login-timeout
DataSourceType
Integer getLoginTimeout()
login-timeout
elementlogin-timeout
DataSourceType<T> removeLoginTimeout()
login-timeout
elementDataSourceType
DataSourceType<T> transactional(Boolean transactional)
transactional
elementtransactional
- the value for the element transactional
DataSourceType
Boolean isTransactional()
transactional
elementtransactional
DataSourceType<T> removeTransactional()
transactional
elementDataSourceType
DataSourceType<T> isolationLevel(IsolationLevelType isolationLevel)
isolation-level
elementisolationLevel
- the value for the element isolation-level
DataSourceType
DataSourceType<T> isolationLevel(String isolationLevel)
isolation-level
elementisolationLevel
- the value for the element isolation-level
DataSourceType
IsolationLevelType getIsolationLevel()
isolation-level
elementisolation-level
String getIsolationLevelAsString()
isolation-level
elementisolation-level
DataSourceType<T> removeIsolationLevel()
isolation-level
attributeDataSourceType
DataSourceType<T> initialPoolSize(Integer initialPoolSize)
initial-pool-size
elementinitialPoolSize
- the value for the element initial-pool-size
DataSourceType
Integer getInitialPoolSize()
initial-pool-size
elementinitial-pool-size
DataSourceType<T> removeInitialPoolSize()
initial-pool-size
elementDataSourceType
DataSourceType<T> maxPoolSize(Integer maxPoolSize)
max-pool-size
elementmaxPoolSize
- the value for the element max-pool-size
DataSourceType
Integer getMaxPoolSize()
max-pool-size
elementmax-pool-size
DataSourceType<T> removeMaxPoolSize()
max-pool-size
elementDataSourceType
DataSourceType<T> minPoolSize(Integer minPoolSize)
min-pool-size
elementminPoolSize
- the value for the element min-pool-size
DataSourceType
Integer getMinPoolSize()
min-pool-size
elementmin-pool-size
DataSourceType<T> removeMinPoolSize()
min-pool-size
elementDataSourceType
DataSourceType<T> maxIdleTime(Integer maxIdleTime)
max-idle-time
elementmaxIdleTime
- the value for the element max-idle-time
DataSourceType
Integer getMaxIdleTime()
max-idle-time
elementmax-idle-time
DataSourceType<T> removeMaxIdleTime()
max-idle-time
elementDataSourceType
DataSourceType<T> maxStatements(Integer maxStatements)
max-statements
elementmaxStatements
- the value for the element max-statements
DataSourceType
Integer getMaxStatements()
max-statements
elementmax-statements
DataSourceType<T> removeMaxStatements()
max-statements
elementDataSourceType
DataSourceType<T> id(String id)
id
attributeid
- the value for the attribute id
DataSourceType
String getId()
id
attributeid
DataSourceType<T> removeId()
id
attributeDataSourceType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)