|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.servlet.ver30.DataSourceType
public class DataSourceType
Configuration of a DataSource.
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>
| Field Summary | |
|---|---|
protected FullyQualifiedClassType |
className
|
protected String |
databaseName
|
protected DescriptionType |
description
|
protected java.lang.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 java.util.List<PropertyType> |
property
|
protected String |
serverName
|
protected XsdBooleanType |
transactional
|
protected JdbcUrlType |
url
|
protected String |
user
|
| Constructor Summary | |
|---|---|
DataSourceType()
|
|
| Method Summary | |
|---|---|
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. |
java.lang.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. |
java.util.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(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 java.util.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 java.lang.String id
| Constructor Detail |
|---|
public DataSourceType()
| Method Detail |
|---|
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 java.util.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 java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||