org.eclipse.wst.rdb.internal.models.sql.tables.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.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                              extended by org.eclipse.wst.rdb.internal.models.sql.schema.impl.TypedElementImpl
                                  extended by org.eclipse.wst.rdb.internal.models.sql.tables.impl.ColumnImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.sdo.InternalEDataObject, SQLObject, TypedElement, Column

public class ColumnImpl
extends TypedElementImpl
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.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
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetGenerateExpression(ValueExpression newGenerateExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetIdentitySpecifier(IdentitySpecifier newIdentitySpecifier, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTable(Table newTable, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getDefaultValue()
           
 ValueExpression getGenerateExpression()
           
 IdentitySpecifier getIdentitySpecifier()
           
 ReferentialActionType getScopeCheck()
           
 Table getTable()
           
 boolean isImplementationDependent()
           
 boolean isNullable()
           
 boolean isPartOfForeignKey()
           
 boolean isPartOfPrimaryKey()
           
 boolean isPartOfUniqueConstraint()
           
 boolean isScopeChecked()
           
 void setDefaultValue(java.lang.String newDefaultValue)
           
 void setGenerateExpression(ValueExpression newGenerateExpression)
           
 void setIdentitySpecifier(IdentitySpecifier newIdentitySpecifier)
           
 void setImplementationDependent(boolean newImplementationDependent)
           
 void setNullable(boolean newNullable)
           
 void setScopeCheck(ReferentialActionType newScopeCheck)
           
 void setScopeChecked(boolean newScopeChecked)
           
 void setTable(Table newTable)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.schema.impl.TypedElementImpl
basicGetReferencedType, basicSetContainedType, getContainedType, getDataType, getReferencedType, setContainedType, setDataType, setReferencedType
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getLabel, getList, getList, getList, getLong, getLong, getLong, getPrivileges, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, removeEAnnotationDetail, set, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDescription, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setLabel, 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.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.TypedElement
getContainedType, getDataType, getReferencedType, setContainedType, setDataType, setReferencedType
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, 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, 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
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

getTable

public Table getTable()

Specified by:
getTable in interface Column
Returns:
the value of the 'Table' container reference.
See Also:
Column.setTable(Table), SQLTablesPackage.getColumn_Table(), Table.getColumns()

basicSetTable

public org.eclipse.emf.common.notify.NotificationChain basicSetTable(Table newTable,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setTable

public void setTable(Table newTable)

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

getIdentitySpecifier

public IdentitySpecifier getIdentitySpecifier()

Specified by:
getIdentitySpecifier in interface Column
Returns:
the value of the 'Identity Specifier' containment reference.
See Also:
Column.setIdentitySpecifier(IdentitySpecifier), SQLTablesPackage.getColumn_IdentitySpecifier()

basicSetIdentitySpecifier

public org.eclipse.emf.common.notify.NotificationChain basicSetIdentitySpecifier(IdentitySpecifier newIdentitySpecifier,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setIdentitySpecifier

public void setIdentitySpecifier(IdentitySpecifier newIdentitySpecifier)

Specified by:
setIdentitySpecifier in interface Column
Parameters:
newIdentitySpecifier - the new value of the 'Identity Specifier' containment reference.
See Also:
Column.getIdentitySpecifier()

getGenerateExpression

public ValueExpression getGenerateExpression()

Specified by:
getGenerateExpression in interface Column
Returns:
the value of the 'Generate Expression' containment reference.
See Also:
Column.setGenerateExpression(ValueExpression), SQLTablesPackage.getColumn_GenerateExpression()

basicSetGenerateExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetGenerateExpression(ValueExpression newGenerateExpression,
                                                                                  org.eclipse.emf.common.notify.NotificationChain msgs)


setGenerateExpression

public void setGenerateExpression(ValueExpression newGenerateExpression)

Specified by:
setGenerateExpression in interface Column
Parameters:
newGenerateExpression - the new value of the 'Generate Expression' containment reference.
See Also:
Column.getGenerateExpression()

isImplementationDependent

public boolean isImplementationDependent()

Specified by:
isImplementationDependent in interface Column
Returns:
the value of the 'Implementation Dependent' attribute.
See Also:
Column.setImplementationDependent(boolean), SQLTablesPackage.getColumn_ImplementationDependent()

setImplementationDependent

public void setImplementationDependent(boolean newImplementationDependent)

Specified by:
setImplementationDependent in interface Column
Parameters:
newImplementationDependent - the new value of the 'Implementation Dependent' attribute.
See Also:
Column.isImplementationDependent()

isNullable

public boolean isNullable()

Specified by:
isNullable in interface Column
Returns:
the value of the 'Nullable' attribute.
See Also:
Column.setNullable(boolean), SQLTablesPackage.getColumn_Nullable()

setNullable

public void setNullable(boolean newNullable)

Specified by:
setNullable in interface Column
Parameters:
newNullable - the new value of the 'Nullable' attribute.
See Also:
Column.isNullable()

getDefaultValue

public java.lang.String getDefaultValue()

Specified by:
getDefaultValue in interface Column
Returns:
the value of the 'Default Value' attribute.
See Also:
Column.setDefaultValue(String), SQLTablesPackage.getColumn_DefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.String newDefaultValue)

Specified by:
setDefaultValue in interface Column
Parameters:
newDefaultValue - the new value of the 'Default Value' attribute.
See Also:
Column.getDefaultValue()

getScopeCheck

public ReferentialActionType getScopeCheck()

Specified by:
getScopeCheck in interface Column
Returns:
the value of the 'Scope Check' attribute.
See Also:
ReferentialActionType, Column.setScopeCheck(ReferentialActionType), SQLTablesPackage.getColumn_ScopeCheck()

setScopeCheck

public void setScopeCheck(ReferentialActionType newScopeCheck)

Specified by:
setScopeCheck in interface Column
Parameters:
newScopeCheck - the new value of the 'Scope Check' attribute.
See Also:
ReferentialActionType, Column.getScopeCheck()

isScopeChecked

public boolean isScopeChecked()

Specified by:
isScopeChecked in interface Column
Returns:
the value of the 'Scope Checked' attribute.
See Also:
Column.setScopeChecked(boolean), SQLTablesPackage.getColumn_ScopeChecked()

setScopeChecked

public void setScopeChecked(boolean newScopeChecked)

Specified by:
setScopeChecked in interface Column
Parameters:
newScopeChecked - the new value of the 'Scope Checked' attribute.
See Also:
Column.isScopeChecked()

isPartOfForeignKey

public boolean isPartOfForeignKey()

Specified by:
isPartOfForeignKey in interface Column

isPartOfUniqueConstraint

public boolean isPartOfUniqueConstraint()

Specified by:
isPartOfUniqueConstraint in interface Column

isPartOfPrimaryKey

public boolean isPartOfPrimaryKey()

Specified by:
isPartOfPrimaryKey in interface Column

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class TypedElementImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

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

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 TypedElementImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class TypedElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class TypedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class TypedElementImpl

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl