|
||||||||||
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.ConfigImpl
public class ConfigImpl
An implementation of the model object 'Config'.
The following features are implemented:
Command
Table
Relationship
Connection Info
Uri
Data Object Model
Database Schema Name Supported
Generated Keys Supported
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 | |
---|---|
protected java.util.List |
command
The cached value of the ' Command ' containment reference list. |
static int |
COMMAND
|
static int |
CONNECTION_INFO
|
protected ConnectionInfo |
connectionInfo
The cached value of the ' Connection Info ' containment reference. |
static int |
DATA_OBJECT_MODEL
|
protected static java.lang.String |
DATA_OBJECT_MODEL_DEFAULT_
The default value of the ' Data Object Model ' attribute. |
static int |
DATABASE_SCHEMA_NAME_SUPPORTED
|
protected static boolean |
DATABASE_SCHEMA_NAME_SUPPORTED_DEFAULT_
The default value of the ' Database Schema Name Supported ' attribute. |
protected boolean |
databaseSchemaNameSupported
The cached value of the ' Database Schema Name Supported ' attribute. |
protected java.lang.String |
dataObjectModel
The cached value of the ' Data Object Model ' attribute. |
static int |
EXTENDED_PROPERTY_COUNT
|
static int |
GENERATED_KEYS_SUPPORTED
|
protected static java.lang.String |
GENERATED_KEYS_SUPPORTED_DEFAULT_
The default value of the ' Generated Keys Supported ' attribute. |
protected java.lang.String |
generatedKeysSupported
The cached value of the ' Generated Keys Supported ' attribute. |
static int |
INTERNAL_COMMAND
The internal feature id for the 'Command' containment reference list. |
static int |
INTERNAL_CONNECTION_INFO
The internal feature id for the 'Connection Info' containment reference. |
static int |
INTERNAL_DATA_OBJECT_MODEL
The internal feature id for the 'Data Object Model' attribute. |
static int |
INTERNAL_DATABASE_SCHEMA_NAME_SUPPORTED
The internal feature id for the 'Database Schema Name Supported' attribute. |
static int |
INTERNAL_GENERATED_KEYS_SUPPORTED
The internal feature id for the 'Generated Keys Supported' attribute. |
static int |
INTERNAL_PROPERTY_COUNT
The number of properties for this type. |
static int |
INTERNAL_RELATIONSHIP
The internal feature id for the 'Relationship' containment reference list. |
static int |
INTERNAL_TABLE
The internal feature id for the 'Table' containment reference list. |
static int |
INTERNAL_URI
The internal feature id for the 'Uri' attribute. |
protected java.util.List |
relationship
The cached value of the ' Relationship ' containment reference list. |
static int |
RELATIONSHIP
|
static int |
SDO_PROPERTY_COUNT
|
protected java.util.List |
table
The cached value of the ' Table ' containment reference list. |
static int |
TABLE
|
protected java.lang.String |
uri
The cached value of the ' Uri ' attribute. |
static int |
URI
|
protected static java.lang.String |
URI_DEFAULT_
The default value of the ' Uri ' 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 | |
---|---|
ConfigImpl()
|
Method Summary | |
---|---|
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext |
basicSetConnectionInfo(ConnectionInfo newConnectionInfo,
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
|
java.lang.Object |
get(int propertyIndex,
boolean resolve)
|
java.util.List |
getCommand()
|
ConnectionInfo |
getConnectionInfo()
|
java.lang.String |
getDataObjectModel()
|
java.lang.String |
getGeneratedKeysSupported()
|
java.util.List |
getRelationship()
|
commonj.sdo.Type |
getStaticType()
|
java.util.List |
getTable()
|
java.lang.String |
getUri()
|
protected int |
internalConvertIndex(int internalIndex)
|
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext |
inverseRemove(java.lang.Object otherEnd,
int propertyIndex,
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
|
boolean |
isDatabaseSchemaNameSupported()
|
boolean |
isSet(int propertyIndex)
|
void |
set(int propertyIndex,
java.lang.Object newValue)
|
void |
setConnectionInfo(ConnectionInfo newConnectionInfo)
|
void |
setDatabaseSchemaNameSupported(boolean newDatabaseSchemaNameSupported)
|
void |
setDataObjectModel(java.lang.String newDataObjectModel)
|
void |
setGeneratedKeysSupported(java.lang.String newGeneratedKeysSupported)
|
void |
setUri(java.lang.String newUri)
|
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, 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 COMMAND
public static final int TABLE
public static final int RELATIONSHIP
public static final int CONNECTION_INFO
public static final int URI
public static final int DATA_OBJECT_MODEL
public static final int DATABASE_SCHEMA_NAME_SUPPORTED
public static final int GENERATED_KEYS_SUPPORTED
public static final int SDO_PROPERTY_COUNT
public static final int EXTENDED_PROPERTY_COUNT
public static final int INTERNAL_COMMAND
public static final int INTERNAL_TABLE
public static final int INTERNAL_RELATIONSHIP
public static final int INTERNAL_CONNECTION_INFO
public static final int INTERNAL_URI
public static final int INTERNAL_DATA_OBJECT_MODEL
public static final int INTERNAL_DATABASE_SCHEMA_NAME_SUPPORTED
public static final int INTERNAL_GENERATED_KEYS_SUPPORTED
public static final int INTERNAL_PROPERTY_COUNT
protected java.util.List command
Command
' containment reference list.
getCommand()
protected java.util.List table
Table
' containment reference list.
getTable()
protected java.util.List relationship
Relationship
' containment reference list.
getRelationship()
protected ConnectionInfo connectionInfo
Connection Info
' containment reference.
getConnectionInfo()
protected static final java.lang.String URI_DEFAULT_
Uri
' attribute.
getUri()
protected java.lang.String uri
Uri
' attribute.
getUri()
protected static final java.lang.String DATA_OBJECT_MODEL_DEFAULT_
Data Object Model
' attribute.
getDataObjectModel()
protected java.lang.String dataObjectModel
Data Object Model
' attribute.
getDataObjectModel()
protected static final boolean DATABASE_SCHEMA_NAME_SUPPORTED_DEFAULT_
Database Schema Name Supported
' attribute.
isDatabaseSchemaNameSupported()
,
Constant Field Valuesprotected boolean databaseSchemaNameSupported
Database Schema Name Supported
' attribute.
isDatabaseSchemaNameSupported()
protected static final java.lang.String GENERATED_KEYS_SUPPORTED_DEFAULT_
Generated Keys Supported
' attribute.
getGeneratedKeysSupported()
protected java.lang.String generatedKeysSupported
Generated Keys Supported
' attribute.
getGeneratedKeysSupported()
Constructor Detail |
---|
public ConfigImpl()
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.util.List getCommand()
getCommand
in interface Config
public java.util.List getTable()
getTable
in interface Config
public java.util.List getRelationship()
getRelationship
in interface Config
public ConnectionInfo getConnectionInfo()
getConnectionInfo
in interface Config
Config.setConnectionInfo(ConnectionInfo)
public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetConnectionInfo(ConnectionInfo newConnectionInfo, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
public void setConnectionInfo(ConnectionInfo newConnectionInfo)
setConnectionInfo
in interface Config
newConnectionInfo
- the new value of the 'Connection Info' containment reference.Config.getConnectionInfo()
public java.lang.String getUri()
getUri
in interface Config
Config.setUri(String)
public void setUri(java.lang.String newUri)
setUri
in interface Config
newUri
- the new value of the 'Uri' attribute.Config.getUri()
public java.lang.String getDataObjectModel()
getDataObjectModel
in interface Config
Config.setDataObjectModel(String)
public void setDataObjectModel(java.lang.String newDataObjectModel)
setDataObjectModel
in interface Config
newDataObjectModel
- the new value of the 'Data Object Model' attribute.Config.getDataObjectModel()
public boolean isDatabaseSchemaNameSupported()
isDatabaseSchemaNameSupported
in interface Config
Config.setDatabaseSchemaNameSupported(boolean)
public void setDatabaseSchemaNameSupported(boolean newDatabaseSchemaNameSupported)
setDatabaseSchemaNameSupported
in interface Config
newDatabaseSchemaNameSupported
- the new value of the 'Database Schema Name Supported' attribute.Config.isDatabaseSchemaNameSupported()
public java.lang.String getGeneratedKeysSupported()
getGeneratedKeysSupported
in interface Config
Config.setGeneratedKeysSupported(String)
public void setGeneratedKeysSupported(java.lang.String newGeneratedKeysSupported)
setGeneratedKeysSupported
in interface Config
newGeneratedKeysSupported
- the new value of the 'Generated Keys Supported' attribute.Config.getGeneratedKeysSupported()
public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext inverseRemove(java.lang.Object otherEnd, int propertyIndex, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
inverseRemove
in class org.apache.tuscany.sdo.impl.DataObjectBase
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 |