Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.config.impl
Class ConnectionPropertiesImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.apache.tuscany.sdo.impl.DataObjectImpl
              extended by org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl
All Implemented Interfaces:
DataObject, Serializable, ConnectionProperties, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class ConnectionPropertiesImpl
extends org.apache.tuscany.sdo.impl.DataObjectImpl
implements ConnectionProperties

An implementation of the model object 'Connection Properties'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  String config
          The cached value of the 'Config' attribute.
protected static String CONFIG_EDEFAULT
          The default value of the 'Config' attribute.
protected static String DATA_SOURCE_EDEFAULT
          The default value of the 'Data Source' attribute.
protected  String dataSource
          The cached value of the 'Data Source' attribute.
protected static String DRIVER_CLASS_NAME_EDEFAULT
          The default value of the 'Driver Class Name' attribute.
protected static String DRIVER_PASSWORD_EDEFAULT
          The default value of the 'Driver Password' attribute.
protected static String DRIVER_URL_EDEFAULT
          The default value of the 'Driver URL' attribute.
protected static String DRIVER_USER_NAME_EDEFAULT
          The default value of the 'Driver User Name' attribute.
protected  String driverClassName
          The cached value of the 'Driver Class Name' attribute.
protected  String driverPassword
          The cached value of the 'Driver Password' attribute.
protected  String driverURL
          The cached value of the 'Driver URL' attribute.
protected  String driverUserName
          The cached value of the 'Driver User Name' attribute.
 
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
changeRecorder, eContainer, eContainerFeatureID, location
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ConnectionPropertiesImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getConfig()
           
 String getDataSource()
           
 String getDriverClassName()
           
 String getDriverPassword()
           
 String getDriverURL()
           
 String getDriverUserName()
           
 void setConfig(String newConfig)
           
 void setDataSource(String newDataSource)
           
 void setDriverClassName(String newDriverClassName)
           
 void setDriverPassword(String newDriverPassword)
           
 void setDriverURL(String newDriverURL)
           
 void setDriverUserName(String newDriverUserName)
           
 String toString()
           
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eClass, eContainerFeatureID, eContents, eCrossReferences, eDirectResource, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetClass, eSetDirectResource, eSetProxyURI, eSettings, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChangeSummary, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChangeRecorder, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset, writeReplace
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicProperties, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_EDEFAULT

protected static final String CONFIG_EDEFAULT
The default value of the 'Config' attribute.

See Also:
getConfig()

config

protected String config
The cached value of the 'Config' attribute.

See Also:
getConfig()

DATA_SOURCE_EDEFAULT

protected static final String DATA_SOURCE_EDEFAULT
The default value of the 'Data Source' attribute.

See Also:
getDataSource()

dataSource

protected String dataSource
The cached value of the 'Data Source' attribute.

See Also:
getDataSource()

DRIVER_CLASS_NAME_EDEFAULT

protected static final String DRIVER_CLASS_NAME_EDEFAULT
The default value of the 'Driver Class Name' attribute.

See Also:
getDriverClassName()

driverClassName

protected String driverClassName
The cached value of the 'Driver Class Name' attribute.

See Also:
getDriverClassName()

DRIVER_PASSWORD_EDEFAULT

protected static final String DRIVER_PASSWORD_EDEFAULT
The default value of the 'Driver Password' attribute.

See Also:
getDriverPassword()

driverPassword

protected String driverPassword
The cached value of the 'Driver Password' attribute.

See Also:
getDriverPassword()

DRIVER_URL_EDEFAULT

protected static final String DRIVER_URL_EDEFAULT
The default value of the 'Driver URL' attribute.

See Also:
getDriverURL()

driverURL

protected String driverURL
The cached value of the 'Driver URL' attribute.

See Also:
getDriverURL()

DRIVER_USER_NAME_EDEFAULT

protected static final String DRIVER_USER_NAME_EDEFAULT
The default value of the 'Driver User Name' attribute.

See Also:
getDriverUserName()

driverUserName

protected String driverUserName
The cached value of the 'Driver User Name' attribute.

See Also:
getDriverUserName()
Constructor Detail

ConnectionPropertiesImpl

protected ConnectionPropertiesImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.apache.tuscany.sdo.impl.DataObjectImpl

getConfig

public String getConfig()

Specified by:
getConfig in interface ConnectionProperties
Returns:
the value of the 'Config' attribute.
See Also:
ConnectionProperties.setConfig(String)

setConfig

public void setConfig(String newConfig)

Specified by:
setConfig in interface ConnectionProperties
Parameters:
newConfig - the new value of the 'Config' attribute.
See Also:
ConnectionProperties.getConfig()

getDataSource

public String getDataSource()

Specified by:
getDataSource in interface ConnectionProperties
Returns:
the value of the 'Data Source' attribute.
See Also:
ConnectionProperties.setDataSource(String)

setDataSource

public void setDataSource(String newDataSource)

Specified by:
setDataSource in interface ConnectionProperties
Parameters:
newDataSource - the new value of the 'Data Source' attribute.
See Also:
ConnectionProperties.getDataSource()

getDriverClassName

public String getDriverClassName()

Specified by:
getDriverClassName in interface ConnectionProperties
Returns:
the value of the 'Driver Class Name' attribute.
See Also:
ConnectionProperties.setDriverClassName(String)

setDriverClassName

public void setDriverClassName(String newDriverClassName)

Specified by:
setDriverClassName in interface ConnectionProperties
Parameters:
newDriverClassName - the new value of the 'Driver Class Name' attribute.
See Also:
ConnectionProperties.getDriverClassName()

getDriverPassword

public String getDriverPassword()

Specified by:
getDriverPassword in interface ConnectionProperties
Returns:
the value of the 'Driver Password' attribute.
See Also:
ConnectionProperties.setDriverPassword(String)

setDriverPassword

public void setDriverPassword(String newDriverPassword)

Specified by:
setDriverPassword in interface ConnectionProperties
Parameters:
newDriverPassword - the new value of the 'Driver Password' attribute.
See Also:
ConnectionProperties.getDriverPassword()

getDriverURL

public String getDriverURL()

Specified by:
getDriverURL in interface ConnectionProperties
Returns:
the value of the 'Driver URL' attribute.
See Also:
ConnectionProperties.setDriverURL(String)

setDriverURL

public void setDriverURL(String newDriverURL)

Specified by:
setDriverURL in interface ConnectionProperties
Parameters:
newDriverURL - the new value of the 'Driver URL' attribute.
See Also:
ConnectionProperties.getDriverURL()

getDriverUserName

public String getDriverUserName()

Specified by:
getDriverUserName in interface ConnectionProperties
Returns:
the value of the 'Driver User Name' attribute.
See Also:
ConnectionProperties.setDriverUserName(String)

setDriverUserName

public void setDriverUserName(String newDriverUserName)

Specified by:
setDriverUserName in interface ConnectionProperties
Parameters:
newDriverUserName - the new value of the 'Driver User Name' attribute.
See Also:
ConnectionProperties.getDriverUserName()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.apache.tuscany.sdo.impl.DataObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.apache.tuscany.sdo.impl.DataObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

Tuscany DAS for Relational Databases

-