|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.apache.tuscany.sdo.impl.DataObjectImpl
org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
org.apache.tuscany.sdo.impl.DataObjectBase
org.apache.tuscany.das.rdb.config.impl.ConnectionPropertiesImpl
public class ConnectionPropertiesImpl
An implementation of the model object 'Connection Properties'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeKind, org.apache.tuscany.sdo.impl.DataObjectBase.ListKind |
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl.FactoryImpl |
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 | |
---|---|
static int |
DATABASE_URL
|
protected static java.lang.String |
DATABASE_URL_DEFAULT_
The default value of the ' Database URL ' attribute. |
protected java.lang.String |
databaseURL
The cached value of the ' Database URL ' attribute. |
static int |
DRIVER_CLASS
|
protected static java.lang.String |
DRIVER_CLASS_DEFAULT_
The default value of the ' Driver Class ' attribute. |
protected java.lang.String |
driverClass
The cached value of the ' Driver Class ' attribute. |
static int |
EXTENDED_PROPERTY_COUNT
|
static int |
INTERNAL_DATABASE_URL
The internal feature id for the 'Database URL' attribute. |
static int |
INTERNAL_DRIVER_CLASS
The internal feature id for the 'Driver Class' attribute. |
static int |
INTERNAL_LOGIN_TIMEOUT
The internal feature id for the 'Login Timeout' attribute. |
static int |
INTERNAL_PASSWORD
The internal feature id for the 'Password' attribute. |
static int |
INTERNAL_PROPERTY_COUNT
The number of properties for this type. |
static int |
INTERNAL_USER_NAME
The internal feature id for the 'User Name' attribute. |
static int |
LOGIN_TIMEOUT
|
protected static int |
LOGIN_TIMEOUT_DEFAULT_
The default value of the ' Login Timeout ' attribute. |
protected int |
loginTimeout
The cached value of the ' Login Timeout ' attribute. |
protected java.lang.String |
password
The cached value of the ' Password ' attribute. |
static int |
PASSWORD
|
protected static java.lang.String |
PASSWORD_DEFAULT_
The default value of the ' Password ' attribute. |
static int |
SDO_PROPERTY_COUNT
|
static int |
USER_NAME
|
protected static java.lang.String |
USER_NAME_DEFAULT_
The default value of the ' User Name ' attribute. |
protected java.lang.String |
userName
The cached value of the ' User Name ' attribute. |
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
OPPOSITE_FEATURE_BASE |
Fields inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
eClass, ENO_SETTINGS, eSettings |
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl |
---|
changeRecorder, eContainer, eContainerFeatureID, location, sequence |
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.EStructuralFeature.Internal.DynamicValueHolder |
---|
NIL |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
ConnectionPropertiesImpl()
|
Method Summary | |
---|---|
java.lang.Object |
get(int propertyIndex,
boolean resolve)
|
java.lang.String |
getDatabaseURL()
|
java.lang.String |
getDriverClass()
|
int |
getLoginTimeout()
|
java.lang.String |
getPassword()
|
commonj.sdo.Type |
getStaticType()
|
java.lang.String |
getUserName()
|
protected int |
internalConvertIndex(int internalIndex)
|
boolean |
isSet(int propertyIndex)
|
void |
set(int propertyIndex,
java.lang.Object newValue)
|
void |
setDatabaseURL(java.lang.String newDatabaseURL)
|
void |
setDriverClass(java.lang.String newDriverClass)
|
void |
setLoginTimeout(int newLoginTimeout)
|
void |
setPassword(java.lang.String newPassword)
|
void |
setUserName(java.lang.String newUserName)
|
java.lang.String |
toString()
|
void |
unset(int propertyIndex)
|
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
addNotification, addNotification, basicAdd, createChangeSummary, createPropertyList, createPropertyList, createSequence, createSequence, dispatch, eGet, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, get, getList, inverseAdd, inverseAdd, inverseRemove, inverseRemove, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, notify, notify, notify, notify, notify, notify, notify, notify, removeFromList, removeFromSequence, resolveProxy, set, setSequence, unset, unsetSequence |
Methods inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
dynamicGet, dynamicSet, dynamicUnset, eClass, eDerivedStructuralFeatureID, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eSetClass, eSettings, isDynamic |
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl |
---|
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eContainerFeatureID, eContents, eCrossReferences, eDirectResource, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetDirectResource, eSetProxyURI, 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, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, 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, 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, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, 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 |
Methods inherited from interface commonj.sdo.DataObject |
---|
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, 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, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, 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 |
Field Detail |
---|
public static final int DRIVER_CLASS
public static final int DATABASE_URL
public static final int USER_NAME
public static final int PASSWORD
public static final int LOGIN_TIMEOUT
public static final int SDO_PROPERTY_COUNT
public static final int EXTENDED_PROPERTY_COUNT
public static final int INTERNAL_DRIVER_CLASS
public static final int INTERNAL_DATABASE_URL
public static final int INTERNAL_USER_NAME
public static final int INTERNAL_PASSWORD
public static final int INTERNAL_LOGIN_TIMEOUT
public static final int INTERNAL_PROPERTY_COUNT
protected static final java.lang.String DRIVER_CLASS_DEFAULT_
Driver Class
' attribute.
getDriverClass()
protected java.lang.String driverClass
Driver Class
' attribute.
getDriverClass()
protected static final java.lang.String DATABASE_URL_DEFAULT_
Database URL
' attribute.
getDatabaseURL()
protected java.lang.String databaseURL
Database URL
' attribute.
getDatabaseURL()
protected static final java.lang.String USER_NAME_DEFAULT_
User Name
' attribute.
getUserName()
,
Constant Field Valuesprotected java.lang.String userName
User Name
' attribute.
getUserName()
protected static final java.lang.String PASSWORD_DEFAULT_
Password
' attribute.
getPassword()
,
Constant Field Valuesprotected java.lang.String password
Password
' attribute.
getPassword()
protected static final int LOGIN_TIMEOUT_DEFAULT_
Login Timeout
' attribute.
getLoginTimeout()
,
Constant Field Valuesprotected int loginTimeout
Login Timeout
' attribute.
getLoginTimeout()
Constructor Detail |
---|
public ConnectionPropertiesImpl()
Method Detail |
---|
protected int internalConvertIndex(int internalIndex)
internalConvertIndex
in class org.apache.tuscany.sdo.impl.DataObjectBase
public commonj.sdo.Type getStaticType()
getStaticType
in class org.apache.tuscany.sdo.impl.DataObjectBase
public java.lang.String getDriverClass()
getDriverClass
in interface ConnectionProperties
ConnectionProperties.setDriverClass(String)
public void setDriverClass(java.lang.String newDriverClass)
setDriverClass
in interface ConnectionProperties
newDriverClass
- the new value of the 'Driver Class' attribute.ConnectionProperties.getDriverClass()
public java.lang.String getDatabaseURL()
getDatabaseURL
in interface ConnectionProperties
ConnectionProperties.setDatabaseURL(String)
public void setDatabaseURL(java.lang.String newDatabaseURL)
setDatabaseURL
in interface ConnectionProperties
newDatabaseURL
- the new value of the 'Database URL' attribute.ConnectionProperties.getDatabaseURL()
public java.lang.String getUserName()
getUserName
in interface ConnectionProperties
ConnectionProperties.setUserName(String)
public void setUserName(java.lang.String newUserName)
setUserName
in interface ConnectionProperties
newUserName
- the new value of the 'User Name' attribute.ConnectionProperties.getUserName()
public java.lang.String getPassword()
getPassword
in interface ConnectionProperties
ConnectionProperties.setPassword(String)
public void setPassword(java.lang.String newPassword)
setPassword
in interface ConnectionProperties
newPassword
- the new value of the 'Password' attribute.ConnectionProperties.getPassword()
public int getLoginTimeout()
getLoginTimeout
in interface ConnectionProperties
ConnectionProperties.setLoginTimeout(int)
public void setLoginTimeout(int newLoginTimeout)
setLoginTimeout
in interface ConnectionProperties
newLoginTimeout
- the new value of the 'Login Timeout' attribute.ConnectionProperties.getLoginTimeout()
public java.lang.Object get(int propertyIndex, boolean resolve)
get
in class org.apache.tuscany.sdo.impl.DataObjectBase
public void set(int propertyIndex, java.lang.Object newValue)
set
in interface commonj.sdo.DataObject
set
in class org.apache.tuscany.sdo.impl.DataObjectBase
public void unset(int propertyIndex)
unset
in interface commonj.sdo.DataObject
unset
in class org.apache.tuscany.sdo.impl.DataObjectBase
public boolean isSet(int propertyIndex)
isSet
in interface commonj.sdo.DataObject
isSet
in class org.apache.tuscany.sdo.impl.DataObjectImpl
public java.lang.String toString()
toString
in class org.apache.tuscany.sdo.impl.DataObjectBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |