Class DataSourceType
java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.DataSourceType
- All Implemented Interfaces:
Locatable
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
FieldsModifier and TypeFieldDescriptionprotected FullyQualifiedClassTypeprotected Stringprotected DescriptionTypeprotected Stringprotected XsdIntegerTypeprotected IsolationLevelTypeprotected Locatorprotected XsdIntegerTypeprotected XsdIntegerTypeprotected XsdIntegerTypeprotected XsdIntegerTypeprotected XsdIntegerTypeprotected JndiNameTypeprotected Stringprotected XsdIntegerTypeprotected List<PropertyType>protected Stringprotected XsdBooleanTypeprotected JdbcUrlTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the className property.Gets the value of the databaseName property.Gets the value of the description property.getId()Gets the value of the id property.Gets the value of the initialPoolSize property.Gets the value of the isolationLevel property.Gets the value of the loginTimeout property.Gets the value of the maxIdleTime property.Gets the value of the maxPoolSize property.Gets the value of the maxStatements property.Gets the value of the minPoolSize property.getName()Gets the value of the name property.Gets the value of the password property.Gets the value of the portNumber property.Gets the value of the property property.Gets the value of the serverName property.Gets the value of the transactional property.getUrl()Gets the value of the url property.getUser()Gets the value of the user property.voidSets the value of the className property.voidsetDatabaseName(String value) Sets the value of the databaseName property.voidsetDescription(DescriptionType value) Sets the value of the description property.voidSets the value of the id property.voidsetInitialPoolSize(XsdIntegerType value) Sets the value of the initialPoolSize property.voidSets the value of the isolationLevel property.voidsetLoginTimeout(XsdIntegerType value) Sets the value of the loginTimeout property.voidsetMaxIdleTime(XsdIntegerType value) Sets the value of the maxIdleTime property.voidsetMaxPoolSize(XsdIntegerType value) Sets the value of the maxPoolSize property.voidsetMaxStatements(XsdIntegerType value) Sets the value of the maxStatements property.voidsetMinPoolSize(XsdIntegerType value) Sets the value of the minPoolSize property.voidsetName(JndiNameType value) Sets the value of the name property.voidsetPassword(String value) Sets the value of the password property.voidsetPortNumber(XsdIntegerType value) Sets the value of the portNumber property.voidsetServerName(String value) Sets the value of the serverName property.voidsetSourceLocation(Locator newLocator) voidsetTransactional(XsdBooleanType value) Sets the value of the transactional property.voidsetUrl(JdbcUrlType value) Sets the value of the url property.voidSets the value of the user property.
-
Field Details
-
description
-
name
-
className
-
serverName
-
portNumber
-
databaseName
-
url
-
user
-
password
-
property
-
loginTimeout
-
transactional
-
isolationLevel
-
initialPoolSize
-
maxPoolSize
-
minPoolSize
-
maxIdleTime
-
maxStatements
-
id
-
locator
-
-
Constructor Details
-
DataSourceType
public DataSourceType()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
DescriptionType
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isDescriptionType
-
getName
Gets the value of the name property.- Returns:
- possible object is
JndiNameType
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isJndiNameType
-
getClassName
Gets the value of the className property.- Returns:
- possible object is
FullyQualifiedClassType
-
setClassName
Sets the value of the className property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getServerName
Gets the value of the serverName property.- Returns:
- possible object is
String
-
setServerName
Sets the value of the serverName property.- Parameters:
value- allowed object isString
-
getPortNumber
Gets the value of the portNumber property.- Returns:
- possible object is
XsdIntegerType
-
setPortNumber
Sets the value of the portNumber property.- Parameters:
value- allowed object isXsdIntegerType
-
getDatabaseName
Gets the value of the databaseName property.- Returns:
- possible object is
String
-
setDatabaseName
Sets the value of the databaseName property.- Parameters:
value- allowed object isString
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
JdbcUrlType
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isJdbcUrlType
-
getUser
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
Sets the value of the user property.- Parameters:
value- allowed object isString
-
getPassword
Gets the value of the password property.- Returns:
- possible object is
String
-
setPassword
Sets the value of the password property.- Parameters:
value- allowed object isString
-
getProperty
Gets the value of the property property.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
setmethod 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 -
getLoginTimeout
Gets the value of the loginTimeout property.- Returns:
- possible object is
XsdIntegerType
-
setLoginTimeout
Sets the value of the loginTimeout property.- Parameters:
value- allowed object isXsdIntegerType
-
getTransactional
Gets the value of the transactional property.- Returns:
- possible object is
XsdBooleanType
-
setTransactional
Sets the value of the transactional property.- Parameters:
value- allowed object isXsdBooleanType
-
getIsolationLevel
Gets the value of the isolationLevel property.- Returns:
- possible object is
IsolationLevelType
-
setIsolationLevel
Sets the value of the isolationLevel property.- Parameters:
value- allowed object isIsolationLevelType
-
getInitialPoolSize
Gets the value of the initialPoolSize property.- Returns:
- possible object is
XsdIntegerType
-
setInitialPoolSize
Sets the value of the initialPoolSize property.- Parameters:
value- allowed object isXsdIntegerType
-
getMaxPoolSize
Gets the value of the maxPoolSize property.- Returns:
- possible object is
XsdIntegerType
-
setMaxPoolSize
Sets the value of the maxPoolSize property.- Parameters:
value- allowed object isXsdIntegerType
-
getMinPoolSize
Gets the value of the minPoolSize property.- Returns:
- possible object is
XsdIntegerType
-
setMinPoolSize
Sets the value of the minPoolSize property.- Parameters:
value- allowed object isXsdIntegerType
-
getMaxIdleTime
Gets the value of the maxIdleTime property.- Returns:
- possible object is
XsdIntegerType
-
setMaxIdleTime
Sets the value of the maxIdleTime property.- Parameters:
value- allowed object isXsdIntegerType
-
getMaxStatements
Gets the value of the maxStatements property.- Returns:
- possible object is
XsdIntegerType
-
setMaxStatements
Sets the value of the maxStatements property.- Parameters:
value- allowed object isXsdIntegerType
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
-