public class DataSourceType extends Object
Java class for data-sourceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="data-sourceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" minOccurs="0"/>
<element name="name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
<element name="class-name" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="server-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<element name="port-number" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="database-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<element name="url" type="{http://java.sun.com/xml/ns/javaee}jdbc-urlType" minOccurs="0"/>
<element name="user" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<element name="password" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
<element name="property" type="{http://java.sun.com/xml/ns/javaee}propertyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="login-timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="transactional" type="{http://java.sun.com/xml/ns/javaee}xsdBooleanType" minOccurs="0"/>
<element name="isolation-level" type="{http://java.sun.com/xml/ns/javaee}isolation-levelType" minOccurs="0"/>
<element name="initial-pool-size" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="max-pool-size" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="min-pool-size" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="max-idle-time" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="max-statements" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected FullyQualifiedClassType |
className |
protected String |
databaseName |
protected DescriptionType |
description |
protected String |
id |
protected XsdIntegerType |
initialPoolSize |
protected IsolationLevelType |
isolationLevel |
protected XsdIntegerType |
loginTimeout |
protected XsdIntegerType |
maxIdleTime |
protected XsdIntegerType |
maxPoolSize |
protected XsdIntegerType |
maxStatements |
protected XsdIntegerType |
minPoolSize |
protected JndiNameType |
name |
protected String |
password |
protected XsdIntegerType |
portNumber |
protected List<PropertyType> |
property |
protected String |
serverName |
protected XsdBooleanType |
transactional |
protected JdbcUrlType |
url |
protected String |
user |
| Constructor and Description |
|---|
DataSourceType() |
| Modifier and Type | Method and Description |
|---|---|
FullyQualifiedClassType |
getClassName()
Gets the value of the className property.
|
String |
getDatabaseName()
Gets the value of the databaseName property.
|
DescriptionType |
getDescription()
Gets the value of the description property.
|
String |
getId()
Gets the value of the id property.
|
XsdIntegerType |
getInitialPoolSize()
Gets the value of the initialPoolSize property.
|
IsolationLevelType |
getIsolationLevel()
Gets the value of the isolationLevel property.
|
XsdIntegerType |
getLoginTimeout()
Gets the value of the loginTimeout property.
|
XsdIntegerType |
getMaxIdleTime()
Gets the value of the maxIdleTime property.
|
XsdIntegerType |
getMaxPoolSize()
Gets the value of the maxPoolSize property.
|
XsdIntegerType |
getMaxStatements()
Gets the value of the maxStatements property.
|
XsdIntegerType |
getMinPoolSize()
Gets the value of the minPoolSize property.
|
JndiNameType |
getName()
Gets the value of the name property.
|
String |
getPassword()
Gets the value of the password property.
|
XsdIntegerType |
getPortNumber()
Gets the value of the portNumber property.
|
List<PropertyType> |
getProperty()
Gets the value of the property property.
|
String |
getServerName()
Gets the value of the serverName property.
|
XsdBooleanType |
getTransactional()
Gets the value of the transactional property.
|
JdbcUrlType |
getUrl()
Gets the value of the url property.
|
String |
getUser()
Gets the value of the user property.
|
void |
setClassName(FullyQualifiedClassType value)
Sets the value of the className property.
|
void |
setDatabaseName(String value)
Sets the value of the databaseName property.
|
void |
setDescription(DescriptionType value)
Sets the value of the description property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setInitialPoolSize(XsdIntegerType value)
Sets the value of the initialPoolSize property.
|
void |
setIsolationLevel(IsolationLevelType value)
Sets the value of the isolationLevel property.
|
void |
setLoginTimeout(XsdIntegerType value)
Sets the value of the loginTimeout property.
|
void |
setMaxIdleTime(XsdIntegerType value)
Sets the value of the maxIdleTime property.
|
void |
setMaxPoolSize(XsdIntegerType value)
Sets the value of the maxPoolSize property.
|
void |
setMaxStatements(XsdIntegerType value)
Sets the value of the maxStatements property.
|
void |
setMinPoolSize(XsdIntegerType value)
Sets the value of the minPoolSize property.
|
void |
setName(JndiNameType value)
Sets the value of the name property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setPortNumber(XsdIntegerType value)
Sets the value of the portNumber property.
|
void |
setServerName(String value)
Sets the value of the serverName property.
|
void |
setTransactional(XsdBooleanType value)
Sets the value of the transactional property.
|
void |
setUrl(JdbcUrlType value)
Sets the value of the url property.
|
void |
setUser(String value)
Sets the value of the user property.
|
DataSourceType |
withClassName(FullyQualifiedClassType value) |
DataSourceType |
withDatabaseName(String value) |
DataSourceType |
withDescription(DescriptionType value) |
DataSourceType |
withId(String value) |
DataSourceType |
withInitialPoolSize(XsdIntegerType value) |
DataSourceType |
withIsolationLevel(IsolationLevelType value) |
DataSourceType |
withLoginTimeout(XsdIntegerType value) |
DataSourceType |
withMaxIdleTime(XsdIntegerType value) |
DataSourceType |
withMaxPoolSize(XsdIntegerType value) |
DataSourceType |
withMaxStatements(XsdIntegerType value) |
DataSourceType |
withMinPoolSize(XsdIntegerType value) |
DataSourceType |
withName(JndiNameType value) |
DataSourceType |
withPassword(String value) |
DataSourceType |
withPortNumber(XsdIntegerType value) |
DataSourceType |
withProperty(Collection<PropertyType> values) |
DataSourceType |
withProperty(PropertyType... values) |
DataSourceType |
withServerName(String value) |
DataSourceType |
withTransactional(XsdBooleanType value) |
DataSourceType |
withUrl(JdbcUrlType value) |
DataSourceType |
withUser(String value) |
protected DescriptionType description
protected JndiNameType name
protected FullyQualifiedClassType className
protected String serverName
protected XsdIntegerType portNumber
protected String databaseName
protected JdbcUrlType url
protected String user
protected String password
protected List<PropertyType> property
protected XsdIntegerType loginTimeout
protected XsdBooleanType transactional
protected IsolationLevelType isolationLevel
protected XsdIntegerType initialPoolSize
protected XsdIntegerType maxPoolSize
protected XsdIntegerType minPoolSize
protected XsdIntegerType maxIdleTime
protected XsdIntegerType maxStatements
protected String id
public DescriptionType getDescription()
DescriptionTypepublic void setDescription(DescriptionType value)
value - allowed object is
DescriptionTypepublic JndiNameType getName()
JndiNameTypepublic void setName(JndiNameType value)
value - allowed object is
JndiNameTypepublic FullyQualifiedClassType getClassName()
FullyQualifiedClassTypepublic void setClassName(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic String getServerName()
Stringpublic void setServerName(String value)
value - allowed object is
Stringpublic XsdIntegerType getPortNumber()
XsdIntegerTypepublic void setPortNumber(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic String getDatabaseName()
Stringpublic void setDatabaseName(String value)
value - allowed object is
Stringpublic JdbcUrlType getUrl()
JdbcUrlTypepublic void setUrl(JdbcUrlType value)
value - allowed object is
JdbcUrlTypepublic String getUser()
Stringpublic void setUser(String value)
value - allowed object is
Stringpublic String getPassword()
Stringpublic void setPassword(String value)
value - allowed object is
Stringpublic List<PropertyType> getProperty()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
PropertyType
public XsdIntegerType getLoginTimeout()
XsdIntegerTypepublic void setLoginTimeout(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic XsdBooleanType getTransactional()
XsdBooleanTypepublic void setTransactional(XsdBooleanType value)
value - allowed object is
XsdBooleanTypepublic IsolationLevelType getIsolationLevel()
IsolationLevelTypepublic void setIsolationLevel(IsolationLevelType value)
value - allowed object is
IsolationLevelTypepublic XsdIntegerType getInitialPoolSize()
XsdIntegerTypepublic void setInitialPoolSize(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic XsdIntegerType getMaxPoolSize()
XsdIntegerTypepublic void setMaxPoolSize(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic XsdIntegerType getMinPoolSize()
XsdIntegerTypepublic void setMinPoolSize(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic XsdIntegerType getMaxIdleTime()
XsdIntegerTypepublic void setMaxIdleTime(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic XsdIntegerType getMaxStatements()
XsdIntegerTypepublic void setMaxStatements(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic void setId(String value)
value - allowed object is
Stringpublic DataSourceType withDescription(DescriptionType value)
public DataSourceType withName(JndiNameType value)
public DataSourceType withClassName(FullyQualifiedClassType value)
public DataSourceType withServerName(String value)
public DataSourceType withPortNumber(XsdIntegerType value)
public DataSourceType withDatabaseName(String value)
public DataSourceType withUrl(JdbcUrlType value)
public DataSourceType withUser(String value)
public DataSourceType withPassword(String value)
public DataSourceType withProperty(PropertyType... values)
public DataSourceType withProperty(Collection<PropertyType> values)
public DataSourceType withLoginTimeout(XsdIntegerType value)
public DataSourceType withTransactional(XsdBooleanType value)
public DataSourceType withIsolationLevel(IsolationLevelType value)
public DataSourceType withInitialPoolSize(XsdIntegerType value)
public DataSourceType withMaxPoolSize(XsdIntegerType value)
public DataSourceType withMinPoolSize(XsdIntegerType value)
public DataSourceType withMaxIdleTime(XsdIntegerType value)
public DataSourceType withMaxStatements(XsdIntegerType value)
public DataSourceType withId(String value)
Copyright © 2020. All rights reserved.