Tuscany DAS for Relational Databases

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

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.ColumnImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, Column, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class ColumnImpl
extends org.apache.tuscany.sdo.impl.DataObjectImpl
implements Column

An implementation of the model object 'Column'.

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.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  boolean collision
          The cached value of the 'Collision' attribute.
protected static boolean COLLISION_EDEFAULT
          The default value of the 'Collision' attribute.
protected static java.lang.String COLUMN_TYPE_EDEFAULT
          The default value of the 'Column Type' attribute.
protected  java.lang.String columnType
          The cached value of the 'Column Type' attribute.
protected static java.lang.String CONVERTER_CLASS_NAME_EDEFAULT
          The default value of the 'Converter Class Name' attribute.
protected  java.lang.String converterClassName
          The cached value of the 'Converter Class Name' attribute.
protected  boolean generated
          The cached value of the 'Generated' attribute.
protected static boolean GENERATED_EDEFAULT
          The default value of the 'Generated' attribute.
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected static boolean PRIMARY_KEY_EDEFAULT
          The default value of the 'Primary Key' attribute.
protected  boolean primaryKey
          The cached value of the 'Primary Key' attribute.
protected static java.lang.String PROPERTY_NAME_EDEFAULT
          The default value of the 'Property Name' attribute.
protected  java.lang.String propertyName
          The cached value of the 'Property Name' attribute.
protected  java.lang.String table
          The cached value of the 'Table' attribute.
protected static java.lang.String TABLE_EDEFAULT
          The default value of the 'Table' 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 ColumnImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getColumnType()
           
 java.lang.String getConverterClassName()
           
 java.lang.String getName()
           
 java.lang.String getPropertyName()
           
 java.lang.String getTable()
           
 boolean isCollision()
           
 boolean isGenerated()
           
 boolean isPrimaryKey()
           
 void setCollision(boolean newCollision)
           
 void setColumnType(java.lang.String newColumnType)
           
 void setConverterClassName(java.lang.String newConverterClassName)
           
 void setGenerated(boolean newGenerated)
           
 void setName(java.lang.String newName)
           
 void setPrimaryKey(boolean newPrimaryKey)
           
 void setPropertyName(java.lang.String newPropertyName)
           
 void setTable(java.lang.String newTable)
           
 java.lang.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

COLLISION_EDEFAULT

protected static final boolean COLLISION_EDEFAULT
The default value of the 'Collision' attribute.

See Also:
isCollision(), Constant Field Values

collision

protected boolean collision
The cached value of the 'Collision' attribute.

See Also:
isCollision()

COLUMN_TYPE_EDEFAULT

protected static final java.lang.String COLUMN_TYPE_EDEFAULT
The default value of the 'Column Type' attribute.

See Also:
getColumnType()

columnType

protected java.lang.String columnType
The cached value of the 'Column Type' attribute.

See Also:
getColumnType()

CONVERTER_CLASS_NAME_EDEFAULT

protected static final java.lang.String CONVERTER_CLASS_NAME_EDEFAULT
The default value of the 'Converter Class Name' attribute.

See Also:
getConverterClassName()

converterClassName

protected java.lang.String converterClassName
The cached value of the 'Converter Class Name' attribute.

See Also:
getConverterClassName()

GENERATED_EDEFAULT

protected static final boolean GENERATED_EDEFAULT
The default value of the 'Generated' attribute.

See Also:
isGenerated(), Constant Field Values

generated

protected boolean generated
The cached value of the 'Generated' attribute.

See Also:
isGenerated()

NAME_EDEFAULT

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

See Also:
getName()

name

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

See Also:
getName()

PRIMARY_KEY_EDEFAULT

protected static final boolean PRIMARY_KEY_EDEFAULT
The default value of the 'Primary Key' attribute.

See Also:
isPrimaryKey(), Constant Field Values

primaryKey

protected boolean primaryKey
The cached value of the 'Primary Key' attribute.

See Also:
isPrimaryKey()

PROPERTY_NAME_EDEFAULT

protected static final java.lang.String PROPERTY_NAME_EDEFAULT
The default value of the 'Property Name' attribute.

See Also:
getPropertyName()

propertyName

protected java.lang.String propertyName
The cached value of the 'Property Name' attribute.

See Also:
getPropertyName()

TABLE_EDEFAULT

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

See Also:
getTable()

table

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

See Also:
getTable()
Constructor Detail

ColumnImpl

protected ColumnImpl()

Method Detail

eStaticClass

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

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

isCollision

public boolean isCollision()

Specified by:
isCollision in interface Column
Returns:
the value of the 'Collision' attribute.
See Also:
Column.setCollision(boolean)

setCollision

public void setCollision(boolean newCollision)

Specified by:
setCollision in interface Column
Parameters:
newCollision - the new value of the 'Collision' attribute.
See Also:
Column.isCollision()

getColumnType

public java.lang.String getColumnType()

Specified by:
getColumnType in interface Column
Returns:
the value of the 'Column Type' attribute.
See Also:
Column.setColumnType(String)

setColumnType

public void setColumnType(java.lang.String newColumnType)

Specified by:
setColumnType in interface Column
Parameters:
newColumnType - the new value of the 'Column Type' attribute.
See Also:
Column.getColumnType()

getConverterClassName

public java.lang.String getConverterClassName()

Specified by:
getConverterClassName in interface Column
Returns:
the value of the 'Converter Class Name' attribute.
See Also:
Column.setConverterClassName(String)

setConverterClassName

public void setConverterClassName(java.lang.String newConverterClassName)

Specified by:
setConverterClassName in interface Column
Parameters:
newConverterClassName - the new value of the 'Converter Class Name' attribute.
See Also:
Column.getConverterClassName()

isGenerated

public boolean isGenerated()

Specified by:
isGenerated in interface Column
Returns:
the value of the 'Generated' attribute.
See Also:
Column.setGenerated(boolean)

setGenerated

public void setGenerated(boolean newGenerated)

Specified by:
setGenerated in interface Column
Parameters:
newGenerated - the new value of the 'Generated' attribute.
See Also:
Column.isGenerated()

getName

public java.lang.String getName()

Specified by:
getName in interface Column
Returns:
the value of the 'Name' attribute.
See Also:
Column.setName(String)

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface Column
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Column.getName()

isPrimaryKey

public boolean isPrimaryKey()

Specified by:
isPrimaryKey in interface Column
Returns:
the value of the 'Primary Key' attribute.
See Also:
Column.setPrimaryKey(boolean)

setPrimaryKey

public void setPrimaryKey(boolean newPrimaryKey)

Specified by:
setPrimaryKey in interface Column
Parameters:
newPrimaryKey - the new value of the 'Primary Key' attribute.
See Also:
Column.isPrimaryKey()

getPropertyName

public java.lang.String getPropertyName()

Specified by:
getPropertyName in interface Column
Returns:
the value of the 'Property Name' attribute.
See Also:
Column.setPropertyName(String)

setPropertyName

public void setPropertyName(java.lang.String newPropertyName)

Specified by:
setPropertyName in interface Column
Parameters:
newPropertyName - the new value of the 'Property Name' attribute.
See Also:
Column.getPropertyName()

getTable

public java.lang.String getTable()

Specified by:
getTable in interface Column
Returns:
the value of the 'Table' attribute.
See Also:
Column.setTable(String)

setTable

public void setTable(java.lang.String newTable)

Specified by:
setTable in interface Column
Parameters:
newTable - the new value of the 'Table' attribute.
See Also:
Column.getTable()

eGet

public java.lang.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,
                 java.lang.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 java.lang.String toString()

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

Tuscany DAS for Relational Databases

-