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

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.sdo.impl.ExtensibleDataObjectImpl
                  extended by org.apache.tuscany.sdo.impl.DataObjectBase
                      extended by org.apache.tuscany.das.rdb.config.impl.TableImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, Table, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class TableImpl
extends org.apache.tuscany.sdo.impl.DataObjectBase
implements Table

An implementation of the model object 'Table'.

The following features are implemented:

See Also:
Serialized Form

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 column
          The cached value of the 'Column' containment reference list.
static int COLUMN
           
protected  Create create
          The cached value of the 'Create' containment reference.
static int CREATE
           
protected  Delete delete
          The cached value of the 'Delete' containment reference.
static int DELETE
           
static int EXTENDED_PROPERTY_COUNT
           
static int INTERNAL_COLUMN
          The internal feature id for the 'Column' containment reference list.
static int INTERNAL_CREATE
          The internal feature id for the 'Create' containment reference.
static int INTERNAL_DELETE
          The internal feature id for the 'Delete' containment reference.
static int INTERNAL_PROPERTY_COUNT
          The number of properties for this type.
static int INTERNAL_SCHEMA_NAME
          The internal feature id for the 'Schema Name' attribute.
static int INTERNAL_TABLE_NAME
          The internal feature id for the 'Table Name' attribute.
static int INTERNAL_TYPE_NAME
          The internal feature id for the 'Type Name' attribute.
static int INTERNAL_UPDATE
          The internal feature id for the 'Update' containment reference.
static int SCHEMA_NAME
           
protected static java.lang.String SCHEMA_NAME_DEFAULT_
          The default value of the 'Schema Name' attribute.
protected  java.lang.String schemaName
          The cached value of the 'Schema Name' attribute.
static int SDO_PROPERTY_COUNT
           
static int TABLE_NAME
           
protected static java.lang.String TABLE_NAME_DEFAULT_
          The default value of the 'Table Name' attribute.
protected  java.lang.String tableName
          The cached value of the 'Table Name' attribute.
static int TYPE_NAME
           
protected static java.lang.String TYPE_NAME_DEFAULT_
          The default value of the 'Type Name' attribute.
protected  java.lang.String typeName
          The cached value of the 'Type Name' attribute.
protected  Update update
          The cached value of the 'Update' containment reference.
static int UPDATE
           
 
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
TableImpl()
           
 
Method Summary
 org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetCreate(Create newCreate, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
           
 org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetDelete(Delete newDelete, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
           
 org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetUpdate(Update newUpdate, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
           
 java.lang.Object get(int propertyIndex, boolean resolve)
           
 java.util.List getColumn()
           
 Create getCreate()
           
 Delete getDelete()
           
 java.lang.String getSchemaName()
           
 commonj.sdo.Type getStaticType()
           
 java.lang.String getTableName()
           
 java.lang.String getTypeName()
           
 Update getUpdate()
           
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 isSet(int propertyIndex)
           
 void set(int propertyIndex, java.lang.Object newValue)
           
 void setCreate(Create newCreate)
           
 void setDelete(Delete newDelete)
           
 void setSchemaName(java.lang.String newSchemaName)
           
 void setTableName(java.lang.String newTableName)
           
 void setTypeName(java.lang.String newTypeName)
           
 void setUpdate(Update newUpdate)
           
 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

COLUMN

public static final int COLUMN
See Also:
Constant Field Values

CREATE

public static final int CREATE
See Also:
Constant Field Values

UPDATE

public static final int UPDATE
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

TABLE_NAME

public static final int TABLE_NAME
See Also:
Constant Field Values

TYPE_NAME

public static final int TYPE_NAME
See Also:
Constant Field Values

SCHEMA_NAME

public static final int SCHEMA_NAME
See Also:
Constant Field Values

SDO_PROPERTY_COUNT

public static final int SDO_PROPERTY_COUNT
See Also:
Constant Field Values

EXTENDED_PROPERTY_COUNT

public static final int EXTENDED_PROPERTY_COUNT
See Also:
Constant Field Values

INTERNAL_COLUMN

public static final int INTERNAL_COLUMN
The internal feature id for the 'Column' containment reference list.

See Also:
Constant Field Values

INTERNAL_CREATE

public static final int INTERNAL_CREATE
The internal feature id for the 'Create' containment reference.

See Also:
Constant Field Values

INTERNAL_UPDATE

public static final int INTERNAL_UPDATE
The internal feature id for the 'Update' containment reference.

See Also:
Constant Field Values

INTERNAL_DELETE

public static final int INTERNAL_DELETE
The internal feature id for the 'Delete' containment reference.

See Also:
Constant Field Values

INTERNAL_TABLE_NAME

public static final int INTERNAL_TABLE_NAME
The internal feature id for the 'Table Name' attribute.

See Also:
Constant Field Values

INTERNAL_TYPE_NAME

public static final int INTERNAL_TYPE_NAME
The internal feature id for the 'Type Name' attribute.

See Also:
Constant Field Values

INTERNAL_SCHEMA_NAME

public static final int INTERNAL_SCHEMA_NAME
The internal feature id for the 'Schema Name' attribute.

See Also:
Constant Field Values

INTERNAL_PROPERTY_COUNT

public static final int INTERNAL_PROPERTY_COUNT
The number of properties for this type.

See Also:
Constant Field Values

column

protected java.util.List column
The cached value of the 'Column' containment reference list.

See Also:
getColumn()

create

protected Create create
The cached value of the 'Create' containment reference.

See Also:
getCreate()

update

protected Update update
The cached value of the 'Update' containment reference.

See Also:
getUpdate()

delete

protected Delete delete
The cached value of the 'Delete' containment reference.

See Also:
getDelete()

TABLE_NAME_DEFAULT_

protected static final java.lang.String TABLE_NAME_DEFAULT_
The default value of the 'Table Name' attribute.

See Also:
getTableName()

tableName

protected java.lang.String tableName
The cached value of the 'Table Name' attribute.

See Also:
getTableName()

TYPE_NAME_DEFAULT_

protected static final java.lang.String TYPE_NAME_DEFAULT_
The default value of the 'Type Name' attribute.

See Also:
getTypeName()

typeName

protected java.lang.String typeName
The cached value of the 'Type Name' attribute.

See Also:
getTypeName()

SCHEMA_NAME_DEFAULT_

protected static final java.lang.String SCHEMA_NAME_DEFAULT_
The default value of the 'Schema Name' attribute.

See Also:
getSchemaName(), Constant Field Values

schemaName

protected java.lang.String schemaName
The cached value of the 'Schema Name' attribute.

See Also:
getSchemaName()
Constructor Detail

TableImpl

public TableImpl()

Method Detail

internalConvertIndex

protected int internalConvertIndex(int internalIndex)
Overrides:
internalConvertIndex in class org.apache.tuscany.sdo.impl.DataObjectBase

getStaticType

public commonj.sdo.Type getStaticType()

Overrides:
getStaticType in class org.apache.tuscany.sdo.impl.DataObjectBase

getColumn

public java.util.List getColumn()

Specified by:
getColumn in interface Table
Returns:
the value of the 'Column' containment reference list.

getCreate

public Create getCreate()

Specified by:
getCreate in interface Table
Returns:
the value of the 'Create' containment reference.
See Also:
Table.setCreate(Create)

basicSetCreate

public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetCreate(Create newCreate,
                                                                               org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)


setCreate

public void setCreate(Create newCreate)

Specified by:
setCreate in interface Table
Parameters:
newCreate - the new value of the 'Create' containment reference.
See Also:
Table.getCreate()

getUpdate

public Update getUpdate()

Specified by:
getUpdate in interface Table
Returns:
the value of the 'Update' containment reference.
See Also:
Table.setUpdate(Update)

basicSetUpdate

public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetUpdate(Update newUpdate,
                                                                               org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)


setUpdate

public void setUpdate(Update newUpdate)

Specified by:
setUpdate in interface Table
Parameters:
newUpdate - the new value of the 'Update' containment reference.
See Also:
Table.getUpdate()

getDelete

public Delete getDelete()

Specified by:
getDelete in interface Table
Returns:
the value of the 'Delete' containment reference.
See Also:
Table.setDelete(Delete)

basicSetDelete

public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext basicSetDelete(Delete newDelete,
                                                                               org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)


setDelete

public void setDelete(Delete newDelete)

Specified by:
setDelete in interface Table
Parameters:
newDelete - the new value of the 'Delete' containment reference.
See Also:
Table.getDelete()

getTableName

public java.lang.String getTableName()

Specified by:
getTableName in interface Table
Returns:
the value of the 'Table Name' attribute.
See Also:
Table.setTableName(String)

setTableName

public void setTableName(java.lang.String newTableName)

Specified by:
setTableName in interface Table
Parameters:
newTableName - the new value of the 'Table Name' attribute.
See Also:
Table.getTableName()

getTypeName

public java.lang.String getTypeName()

Specified by:
getTypeName in interface Table
Returns:
the value of the 'Type Name' attribute.
See Also:
Table.setTypeName(String)

setTypeName

public void setTypeName(java.lang.String newTypeName)

Specified by:
setTypeName in interface Table
Parameters:
newTypeName - the new value of the 'Type Name' attribute.
See Also:
Table.getTypeName()

getSchemaName

public java.lang.String getSchemaName()

Specified by:
getSchemaName in interface Table
Returns:
the value of the 'Schema Name' attribute.
See Also:
Table.setSchemaName(String)

setSchemaName

public void setSchemaName(java.lang.String newSchemaName)

Specified by:
setSchemaName in interface Table
Parameters:
newSchemaName - the new value of the 'Schema Name' attribute.
See Also:
Table.getSchemaName()

inverseRemove

public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext inverseRemove(java.lang.Object otherEnd,
                                                                              int propertyIndex,
                                                                              org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)

Overrides:
inverseRemove in class org.apache.tuscany.sdo.impl.DataObjectBase

get

public java.lang.Object get(int propertyIndex,
                            boolean resolve)

Overrides:
get in class org.apache.tuscany.sdo.impl.DataObjectBase

set

public void set(int propertyIndex,
                java.lang.Object newValue)

Specified by:
set in interface commonj.sdo.DataObject
Overrides:
set in class org.apache.tuscany.sdo.impl.DataObjectBase

unset

public void unset(int propertyIndex)

Specified by:
unset in interface commonj.sdo.DataObject
Overrides:
unset in class org.apache.tuscany.sdo.impl.DataObjectBase

isSet

public boolean isSet(int propertyIndex)

Specified by:
isSet in interface commonj.sdo.DataObject
Overrides:
isSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.apache.tuscany.sdo.impl.DataObjectBase


Copyright © 2007 Apache Software Foundation. All Rights Reserved.