deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.commons.configuration
Class PooledConnection

java.lang.Object
  extended by org.deegree.commons.configuration.PooledConnection

public class PooledConnection
extends Object

Defines a connection pool that can be referenced in other documents using its identifier.

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DatabaseType" type="{http://www.deegree.org/commons}DatabaseType"/>
         <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="User" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Password" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PoolMinSize" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
         <element name="PoolMaxSize" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  DatabaseType databaseType
           
protected  String id
           
protected  String password
           
protected  BigInteger poolMaxSize
           
protected  BigInteger poolMinSize
           
protected  String url
           
protected  String user
           
 
Constructor Summary
PooledConnection()
           
 
Method Summary
 DatabaseType getDatabaseType()
          Gets the value of the databaseType property.
 String getId()
          Gets the value of the id property.
 String getPassword()
          Gets the value of the password property.
 BigInteger getPoolMaxSize()
          Gets the value of the poolMaxSize property.
 BigInteger getPoolMinSize()
          Gets the value of the poolMinSize property.
 String getUrl()
          Gets the value of the url property.
 String getUser()
          Gets the value of the user property.
 void setDatabaseType(DatabaseType value)
          Sets the value of the databaseType property.
 void setId(String value)
          Sets the value of the id property.
 void setPassword(String value)
          Sets the value of the password property.
 void setPoolMaxSize(BigInteger value)
          Sets the value of the poolMaxSize property.
 void setPoolMinSize(BigInteger value)
          Sets the value of the poolMinSize property.
 void setUrl(String 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

databaseType

protected DatabaseType databaseType

url

protected String url

user

protected String user

password

protected String password

poolMinSize

protected BigInteger poolMinSize

poolMaxSize

protected BigInteger poolMaxSize

id

protected String id
Constructor Detail

PooledConnection

public PooledConnection()
Method Detail

getDatabaseType

public DatabaseType getDatabaseType()
Gets the value of the databaseType property.

Returns:
possible object is DatabaseType

setDatabaseType

public void setDatabaseType(DatabaseType value)
Sets the value of the databaseType property.

Parameters:
value - allowed object is DatabaseType

getUrl

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

Returns:
possible object is String

setUrl

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

Parameters:
value - allowed object is String

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

getPoolMinSize

public BigInteger getPoolMinSize()
Gets the value of the poolMinSize property.

Returns:
possible object is BigInteger

setPoolMinSize

public void setPoolMinSize(BigInteger value)
Sets the value of the poolMinSize property.

Parameters:
value - allowed object is BigInteger

getPoolMaxSize

public BigInteger getPoolMaxSize()
Gets the value of the poolMaxSize property.

Returns:
possible object is BigInteger

setPoolMaxSize

public void setPoolMaxSize(BigInteger value)
Sets the value of the poolMaxSize property.

Parameters:
value - allowed object is BigInteger

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>