Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


oracle.axia.config.beans.storage.persistence
Class DBDriver

java.lang.Object
  extended by oracle.axia.config.beans.storage.persistence.DBDriver

All Implemented Interfaces:
DBDriverMBean, DBDriverReadOnlyMBean

public class DBDriver
extends java.lang.Object
implements DBDriverMBean

Java class for DBDriver complex type.

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

 <complexType name="DBDriver">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="User" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="CredentialKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ConnectionFactory" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="InitialPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="MinPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="MaxPoolSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="ValidationSQL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="property" type="{http://xmlns.oracle.com/axia/store-persistence}property" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
protected  java.lang.String connectionFactory
           
protected  java.lang.String credentialKey
           
protected  int initialPoolSize
           
protected  int maxPoolSize
           
protected  int minPoolSize
           
protected  java.util.List<Property> property
           
protected  java.lang.String url
           
protected  java.lang.String user
           
protected  java.lang.String validationSQL
           

 

Constructor Summary
DBDriver()
          Default Constructor
DBDriver(java.lang.String url, java.lang.String user, java.lang.String credentialKey, java.lang.String connectionFactory, int initialPoolSize, int minPoolSize, int maxPoolSize, java.lang.String validationSQL, java.util.List<Property> property)
           

 

Method Summary
 void addProperty()
          Add a new element named property
 java.lang.String getConnectionFactory()
          Gets the value of the connectionFactory property.
 java.lang.String getCredentialKey()
          Gets the value of the credentialKey property.
 int getInitialPoolSize()
          Gets the value of the initialPoolSize property.
 int getMaxPoolSize()
          Gets the value of the maxPoolSize property.
 int getMinPoolSize()
          Gets the value of the minPoolSize property.
 java.util.List<Property> getProperty()
          Gets the value of the property property.
 java.util.List<PropertyMBean> getPropertyMBean()
          Get the list of the Property element
 java.lang.String getURL()
          Gets the value of the url property.
 java.lang.String getUser()
          Gets the value of the user property.
 java.lang.String getValidationSQL()
          Gets the value of the validationSQL property.
 void removeProperty(int index)
          Remove an element named property by the index
 void setConnectionFactory(java.lang.String value)
          Sets the value of the connectionFactory property.
 void setCredentialKey(java.lang.String value)
          Sets the value of the credentialKey property.
 void setInitialPoolSize(int value)
          Sets the value of the initialPoolSize property.
 void setMaxPoolSize(int value)
          Sets the value of the maxPoolSize property.
 void setMinPoolSize(int value)
          Sets the value of the minPoolSize property.
 void setURL(java.lang.String value)
          Sets the value of the url property.
 void setUser(java.lang.String value)
          Sets the value of the user property.
 void setValidationSQL(java.lang.String value)
          Sets the value of the validationSQL property.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

url

protected java.lang.String url

user

protected java.lang.String user

credentialKey

protected java.lang.String credentialKey

connectionFactory

protected java.lang.String connectionFactory

initialPoolSize

protected int initialPoolSize

minPoolSize

protected int minPoolSize

maxPoolSize

protected int maxPoolSize

validationSQL

protected java.lang.String validationSQL

property

protected java.util.List<Property> property

Constructor Detail

DBDriver

public DBDriver()
Default Constructor

DBDriver

public DBDriver(java.lang.String url,
                java.lang.String user,
                java.lang.String credentialKey,
                java.lang.String connectionFactory,
                int initialPoolSize,
                int minPoolSize,
                int maxPoolSize,
                java.lang.String validationSQL,
                java.util.List<Property> property)

Method Detail

getURL

public java.lang.String getURL()
Gets the value of the url property.
Specified by:
getURL in interface DBDriverReadOnlyMBean
Returns:
possible object is String

setURL

public void setURL(java.lang.String value)
Sets the value of the url property.
Specified by:
setURL in interface DBDriverMBean
Parameters:
value - allowed object is String

getUser

public java.lang.String getUser()
Gets the value of the user property.
Specified by:
getUser in interface DBDriverReadOnlyMBean
Returns:
possible object is String

setUser

public void setUser(java.lang.String value)
Sets the value of the user property.
Specified by:
setUser in interface DBDriverMBean
Parameters:
value - allowed object is String

getCredentialKey

public java.lang.String getCredentialKey()
Gets the value of the credentialKey property.
Specified by:
getCredentialKey in interface DBDriverReadOnlyMBean
Returns:
possible object is String

setCredentialKey

public void setCredentialKey(java.lang.String value)
Sets the value of the credentialKey property.
Specified by:
setCredentialKey in interface DBDriverMBean
Parameters:
value - allowed object is String

getConnectionFactory

public java.lang.String getConnectionFactory()
Gets the value of the connectionFactory property.
Specified by:
getConnectionFactory in interface DBDriverReadOnlyMBean
Returns:
possible object is String

setConnectionFactory

public void setConnectionFactory(java.lang.String value)
Sets the value of the connectionFactory property.
Specified by:
setConnectionFactory in interface DBDriverMBean
Parameters:
value - allowed object is String

getInitialPoolSize

public int getInitialPoolSize()
Gets the value of the initialPoolSize property.
Specified by:
getInitialPoolSize in interface DBDriverReadOnlyMBean

setInitialPoolSize

public void setInitialPoolSize(int value)
Sets the value of the initialPoolSize property.
Specified by:
setInitialPoolSize in interface DBDriverMBean

getMinPoolSize

public int getMinPoolSize()
Gets the value of the minPoolSize property.
Specified by:
getMinPoolSize in interface DBDriverReadOnlyMBean

setMinPoolSize

public void setMinPoolSize(int value)
Sets the value of the minPoolSize property.
Specified by:
setMinPoolSize in interface DBDriverMBean

getMaxPoolSize

public int getMaxPoolSize()
Gets the value of the maxPoolSize property.
Specified by:
getMaxPoolSize in interface DBDriverReadOnlyMBean

setMaxPoolSize

public void setMaxPoolSize(int value)
Sets the value of the maxPoolSize property.
Specified by:
setMaxPoolSize in interface DBDriverMBean

getValidationSQL

public java.lang.String getValidationSQL()
Gets the value of the validationSQL property.
Specified by:
getValidationSQL in interface DBDriverReadOnlyMBean
Returns:
possible object is String

setValidationSQL

public void setValidationSQL(java.lang.String value)
Sets the value of the validationSQL property.
Specified by:
setValidationSQL in interface DBDriverMBean
Parameters:
value - allowed object is String

getProperty

public java.util.List<Property> 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 Property


addProperty

public void addProperty()
Add a new element named property
Specified by:
addProperty in interface DBDriverMBean

removeProperty

public void removeProperty(int index)
Remove an element named property by the index
Specified by:
removeProperty in interface DBDriverMBean
Parameters:
index - The index of removing elements

getPropertyMBean

public java.util.List<PropertyMBean> getPropertyMBean()
Get the list of the Property element
Specified by:
getPropertyMBean in interface DBDriverReadOnlyMBean

Skip navigation links

Oracle Communications Service Broker Platform MBean Java API Reference
6.0

E26173-01


Copyright © 2011, Oracle. All rights reserved.