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.sdo.impl.ExtensibleDataObjectImpl
                  extended by org.apache.tuscany.sdo.impl.DataObjectBase
                      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.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class ColumnImpl
extends org.apache.tuscany.sdo.impl.DataObjectBase
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.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  boolean collision
          The cached value of the 'Collision' attribute.
static int COLLISION
           
protected static boolean COLLISION_DEFAULT_
          The default value of the 'Collision' attribute.
static int COLUMN_NAME
           
protected static java.lang.String COLUMN_NAME_DEFAULT_
          The default value of the 'Column Name' attribute.
protected  java.lang.String columnName
          The cached value of the 'Column Name' attribute.
static int CONVERTER_CLASS_NAME
           
protected static java.lang.String CONVERTER_CLASS_NAME_DEFAULT_
          The default value of the 'Converter Class Name' attribute.
protected  java.lang.String converterClassName
          The cached value of the 'Converter Class Name' attribute.
static int EXTENDED_PROPERTY_COUNT
           
protected  boolean generated
          The cached value of the 'Generated' attribute.
static int GENERATED
           
protected static boolean GENERATED_DEFAULT_
          The default value of the 'Generated' attribute.
static int INTERNAL_COLLISION
          The internal feature id for the 'Collision' attribute.
static int INTERNAL_COLUMN_NAME
          The internal feature id for the 'Column Name' attribute.
static int INTERNAL_CONVERTER_CLASS_NAME
          The internal feature id for the 'Converter Class Name' attribute.
static int INTERNAL_GENERATED
          The internal feature id for the 'Generated' attribute.
static int INTERNAL_MANAGED
          The internal feature id for the 'Managed' attribute.
static int INTERNAL_PRIMARY_KEY
          The internal feature id for the 'Primary Key' attribute.
static int INTERNAL_PROPERTY_COUNT
          The number of properties for this type.
static int INTERNAL_PROPERTY_NAME
          The internal feature id for the 'Property Name' attribute.
protected  boolean managed
          The cached value of the 'Managed' attribute.
static int MANAGED
           
protected static boolean MANAGED_DEFAULT_
          The default value of the 'Managed' attribute.
static int PRIMARY_KEY
           
protected static boolean PRIMARY_KEY_DEFAULT_
          The default value of the 'Primary Key' attribute.
protected  boolean primaryKey
          The cached value of the 'Primary Key' attribute.
static int PROPERTY_NAME
           
protected static java.lang.String PROPERTY_NAME_DEFAULT_
          The default value of the 'Property Name' attribute.
protected  java.lang.String propertyName
          The cached value of the 'Property Name' attribute.
static int SDO_PROPERTY_COUNT
           
 
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
ColumnImpl()
           
 
Method Summary
 java.lang.Object get(int propertyIndex, boolean resolve)
           
 java.lang.String getColumnName()
           
 java.lang.String getConverterClassName()
           
 java.lang.String getPropertyName()
           
 commonj.sdo.Type getStaticType()
           
protected  int internalConvertIndex(int internalIndex)
           
 boolean isCollision()
           
 boolean isGenerated()
           
 boolean isManaged()
           
 boolean isPrimaryKey()
           
 boolean isSet(int propertyIndex)
           
 void set(int propertyIndex, java.lang.Object newValue)
           
 void setCollision(boolean newCollision)
           
 void setColumnName(java.lang.String newColumnName)
           
 void setConverterClassName(java.lang.String newConverterClassName)
           
 void setGenerated(boolean newGenerated)
           
 void setManaged(boolean newManaged)
           
 void setPrimaryKey(boolean newPrimaryKey)
           
 void setPropertyName(java.lang.String newPropertyName)
           
 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

COLUMN_NAME

public static final int COLUMN_NAME
See Also:
Constant Field Values

PROPERTY_NAME

public static final int PROPERTY_NAME
See Also:
Constant Field Values

CONVERTER_CLASS_NAME

public static final int CONVERTER_CLASS_NAME
See Also:
Constant Field Values

PRIMARY_KEY

public static final int PRIMARY_KEY
See Also:
Constant Field Values

GENERATED

public static final int GENERATED
See Also:
Constant Field Values

COLLISION

public static final int COLLISION
See Also:
Constant Field Values

MANAGED

public static final int MANAGED
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_NAME

public static final int INTERNAL_COLUMN_NAME
The internal feature id for the 'Column Name' attribute.

See Also:
Constant Field Values

INTERNAL_PROPERTY_NAME

public static final int INTERNAL_PROPERTY_NAME
The internal feature id for the 'Property Name' attribute.

See Also:
Constant Field Values

INTERNAL_CONVERTER_CLASS_NAME

public static final int INTERNAL_CONVERTER_CLASS_NAME
The internal feature id for the 'Converter Class Name' attribute.

See Also:
Constant Field Values

INTERNAL_PRIMARY_KEY

public static final int INTERNAL_PRIMARY_KEY
The internal feature id for the 'Primary Key' attribute.

See Also:
Constant Field Values

INTERNAL_GENERATED

public static final int INTERNAL_GENERATED
The internal feature id for the 'Generated' attribute.

See Also:
Constant Field Values

INTERNAL_COLLISION

public static final int INTERNAL_COLLISION
The internal feature id for the 'Collision' attribute.

See Also:
Constant Field Values

INTERNAL_MANAGED

public static final int INTERNAL_MANAGED
The internal feature id for the 'Managed' 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_NAME_DEFAULT_

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

See Also:
getColumnName()

columnName

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

See Also:
getColumnName()

PROPERTY_NAME_DEFAULT_

protected static final java.lang.String PROPERTY_NAME_DEFAULT_
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()

CONVERTER_CLASS_NAME_DEFAULT_

protected static final java.lang.String CONVERTER_CLASS_NAME_DEFAULT_
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()

PRIMARY_KEY_DEFAULT_

protected static final boolean PRIMARY_KEY_DEFAULT_
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()

GENERATED_DEFAULT_

protected static final boolean GENERATED_DEFAULT_
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()

COLLISION_DEFAULT_

protected static final boolean COLLISION_DEFAULT_
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()

MANAGED_DEFAULT_

protected static final boolean MANAGED_DEFAULT_
The default value of the 'Managed' attribute.

See Also:
isManaged(), Constant Field Values

managed

protected boolean managed
The cached value of the 'Managed' attribute.

See Also:
isManaged()
Constructor Detail

ColumnImpl

public ColumnImpl()

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

getColumnName

public java.lang.String getColumnName()

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

setColumnName

public void setColumnName(java.lang.String newColumnName)

Specified by:
setColumnName in interface Column
Parameters:
newColumnName - the new value of the 'Column Name' attribute.
See Also:
Column.getColumnName()

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()

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()

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()

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()

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()

isManaged

public boolean isManaged()

Specified by:
isManaged in interface Column
Returns:
the value of the 'Managed' attribute.
See Also:
Column.setManaged(boolean)

setManaged

public void setManaged(boolean newManaged)

Specified by:
setManaged in interface Column
Parameters:
newManaged - the new value of the 'Managed' attribute.
See Also:
Column.isManaged()

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.