com.sun.xml.ws.config.metro.parser.jsr109
Class DataSourceType

java.lang.Object
  extended by com.sun.xml.ws.config.metro.parser.jsr109.DataSourceType
All Implemented Interfaces:
Locatable

public class DataSourceType
extends Object
implements 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
protected  FullyQualifiedClassType className
           
protected  String databaseName
           
protected  DescriptionType description
           
protected  String id
           
protected  XsdIntegerType initialPoolSize
           
protected  IsolationLevelType isolationLevel
           
protected  Locator locator
           
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 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.
 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 setSourceLocation(Locator newLocator)
           
 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.
 Locator sourceLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType description

name

protected JndiNameType name

className

protected FullyQualifiedClassType className

serverName

protected String serverName

portNumber

protected XsdIntegerType portNumber

databaseName

protected String databaseName

url

protected JdbcUrlType url

user

protected String user

password

protected String password

property

protected List<PropertyType> property

loginTimeout

protected XsdIntegerType loginTimeout

transactional

protected XsdBooleanType transactional

isolationLevel

protected IsolationLevelType isolationLevel

initialPoolSize

protected XsdIntegerType initialPoolSize

maxPoolSize

protected XsdIntegerType maxPoolSize

minPoolSize

protected XsdIntegerType minPoolSize

maxIdleTime

protected XsdIntegerType maxIdleTime

maxStatements

protected XsdIntegerType maxStatements

id

protected String id

locator

protected Locator locator
Constructor Detail

DataSourceType

public DataSourceType()
Method Detail

getDescription

public DescriptionType getDescription()
Gets the value of the description property.

Returns:
possible object is DescriptionType

setDescription

public void setDescription(DescriptionType value)
Sets the value of the description property.

Parameters:
value - allowed object is DescriptionType

getName

public JndiNameType getName()
Gets the value of the name property.

Returns:
possible object is JndiNameType

setName

public void setName(JndiNameType value)
Sets the value of the name property.

Parameters:
value - allowed object is JndiNameType

getClassName

public FullyQualifiedClassType getClassName()
Gets the value of the className property.

Returns:
possible object is FullyQualifiedClassType

setClassName

public void setClassName(FullyQualifiedClassType value)
Sets the value of the className property.

Parameters:
value - allowed object is FullyQualifiedClassType

getServerName

public String getServerName()
Gets the value of the serverName property.

Returns:
possible object is String

setServerName

public void setServerName(String value)
Sets the value of the serverName property.

Parameters:
value - allowed object is String

getPortNumber

public XsdIntegerType getPortNumber()
Gets the value of the portNumber property.

Returns:
possible object is XsdIntegerType

setPortNumber

public void setPortNumber(XsdIntegerType value)
Sets the value of the portNumber property.

Parameters:
value - allowed object is XsdIntegerType

getDatabaseName

public String getDatabaseName()
Gets the value of the databaseName property.

Returns:
possible object is String

setDatabaseName

public void setDatabaseName(String value)
Sets the value of the databaseName property.

Parameters:
value - allowed object is String

getUrl

public JdbcUrlType getUrl()
Gets the value of the url property.

Returns:
possible object is JdbcUrlType

setUrl

public void setUrl(JdbcUrlType value)
Sets the value of the url property.

Parameters:
value - allowed object is JdbcUrlType

getUser

public String getUser()
Gets the value of the user property.

Returns:
possible object is String

setUser

public void setUser(String value)
Sets the value of the user property.

Parameters:
value - allowed object is String

getPassword

public String getPassword()
Gets the value of the password property.

Returns:
possible object is String

setPassword

public void setPassword(String value)
Sets the value of the password property.

Parameters:
value - allowed object is String

getProperty

public List<PropertyType> 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 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


getLoginTimeout

public XsdIntegerType getLoginTimeout()
Gets the value of the loginTimeout property.

Returns:
possible object is XsdIntegerType

setLoginTimeout

public void setLoginTimeout(XsdIntegerType value)
Sets the value of the loginTimeout property.

Parameters:
value - allowed object is XsdIntegerType

getTransactional

public XsdBooleanType getTransactional()
Gets the value of the transactional property.

Returns:
possible object is XsdBooleanType

setTransactional

public void setTransactional(XsdBooleanType value)
Sets the value of the transactional property.

Parameters:
value - allowed object is XsdBooleanType

getIsolationLevel

public IsolationLevelType getIsolationLevel()
Gets the value of the isolationLevel property.

Returns:
possible object is IsolationLevelType

setIsolationLevel

public void setIsolationLevel(IsolationLevelType value)
Sets the value of the isolationLevel property.

Parameters:
value - allowed object is IsolationLevelType

getInitialPoolSize

public XsdIntegerType getInitialPoolSize()
Gets the value of the initialPoolSize property.

Returns:
possible object is XsdIntegerType

setInitialPoolSize

public void setInitialPoolSize(XsdIntegerType value)
Sets the value of the initialPoolSize property.

Parameters:
value - allowed object is XsdIntegerType

getMaxPoolSize

public XsdIntegerType getMaxPoolSize()
Gets the value of the maxPoolSize property.

Returns:
possible object is XsdIntegerType

setMaxPoolSize

public void setMaxPoolSize(XsdIntegerType value)
Sets the value of the maxPoolSize property.

Parameters:
value - allowed object is XsdIntegerType

getMinPoolSize

public XsdIntegerType getMinPoolSize()
Gets the value of the minPoolSize property.

Returns:
possible object is XsdIntegerType

setMinPoolSize

public void setMinPoolSize(XsdIntegerType value)
Sets the value of the minPoolSize property.

Parameters:
value - allowed object is XsdIntegerType

getMaxIdleTime

public XsdIntegerType getMaxIdleTime()
Gets the value of the maxIdleTime property.

Returns:
possible object is XsdIntegerType

setMaxIdleTime

public void setMaxIdleTime(XsdIntegerType value)
Sets the value of the maxIdleTime property.

Parameters:
value - allowed object is XsdIntegerType

getMaxStatements

public XsdIntegerType getMaxStatements()
Gets the value of the maxStatements property.

Returns:
possible object is XsdIntegerType

setMaxStatements

public void setMaxStatements(XsdIntegerType value)
Sets the value of the maxStatements property.

Parameters:
value - allowed object is XsdIntegerType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

sourceLocation

public Locator sourceLocation()
Specified by:
sourceLocation in interface Locatable
Returns:
null if the location information is unavaiable, or otherwise return a immutable valid Locator object.

setSourceLocation

public void setSourceLocation(Locator newLocator)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.