org.eclipse.wst.rdb.internal.models.sql.tables.impl
Class ColumnImpl

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.BasicEObjectImpl
              |
              +--org.eclipse.emf.ecore.impl.EObjectImpl
                    |
                    +--org.eclipse.emf.ecore.impl.EModelElementImpl
                          |
                          +--org.eclipse.emf.ecore.impl.ENamedElementImpl
                                |
                                +--org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                                      |
                                      +--org.eclipse.wst.rdb.internal.models.sql.schema.impl.TypedElementImpl
                                            |
                                            +--org.eclipse.wst.rdb.internal.models.sql.tables.impl.ColumnImpl
All Implemented Interfaces:
Column, commonj.sdo.DataObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable, SQLObject, TypedElement

public class ColumnImpl
extends TypedElementImpl
implements Column

An implementation of the model object 'Column'.

The following features are implemented:

See Also:
Serialized Form

Inner classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Inner classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
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
 ValueExpression basicGetGenerateExpression()
          
 org.eclipse.emf.common.notify.NotificationChain basicSetIdentitySpecifier(IdentitySpecifier newIdentitySpecifier, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)
          
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
          
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
          
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 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, 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, 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.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore
 
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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
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.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eInternalResource, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

getTable

public Table getTable()
Specified by:
getTable in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Returns:
the value of the 'Table' container reference.
See Also:
Column.setTable(Table), SQLTablesPackage.getColumn_Table(), Table.getColumns()

setTable

public void setTable(Table newTable)
Specified by:
setTable in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Table' container reference.
See Also:
Column.getTable()

getIdentitySpecifier

public IdentitySpecifier getIdentitySpecifier()
Specified by:
getIdentitySpecifier in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Identity Specifier' containment reference.
See Also:
Column.getIdentitySpecifier()

getGenerateExpression

public ValueExpression getGenerateExpression()
Specified by:
getGenerateExpression in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Returns:
the value of the 'Generate Expression' reference.
See Also:
Column.setGenerateExpression(ValueExpression), SQLTablesPackage.getColumn_GenerateExpression()

basicGetGenerateExpression

public ValueExpression basicGetGenerateExpression()

setGenerateExpression

public void setGenerateExpression(ValueExpression newGenerateExpression)
Specified by:
setGenerateExpression in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Generate Expression' reference.
See Also:
Column.getGenerateExpression()

isImplementationDependent

public boolean isImplementationDependent()
Specified by:
isImplementationDependent in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Implementation Dependent' attribute.
See Also:
Column.isImplementationDependent()

isNullable

public boolean isNullable()
Specified by:
isNullable in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Nullable' attribute.
See Also:
Column.isNullable()

getDefaultValue

public java.lang.String getDefaultValue()
Specified by:
getDefaultValue in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Default Value' attribute.
See Also:
Column.getDefaultValue()

getScopeCheck

public ReferentialActionType getScopeCheck()
Specified by:
getScopeCheck in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - the new value of the 'Scope Check' attribute.
See Also:
ReferentialActionType, Column.getScopeCheck()

isScopeChecked

public boolean isScopeChecked()
Specified by:
isScopeChecked in interface Column
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Column
Parameters:
value - 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,
                                                                   java.lang.Class baseClass,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eInverseAdd in class TypedElementImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eInverseRemove in class TypedElementImpl

eBasicRemoveFromContainer

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eBasicRemoveFromContainer in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class TypedElementImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class TypedElementImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class TypedElementImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class TypedElementImpl

toString

public java.lang.String toString()
Overrides:
toString in class SQLObjectImpl