org.eclipse.datatools.modelbase.sql.tables.impl
Class ColumnImpl

java.lang.Object
  extended by ENamedElementImpl
      extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended by org.eclipse.datatools.modelbase.sql.schema.impl.TypedElementImpl
              extended by org.eclipse.datatools.modelbase.sql.tables.impl.ColumnImpl
All Implemented Interfaces:
SQLObject, TypedElement, Column
Direct Known Subclasses:
JDBCColumn

public class ColumnImpl
extends TypedElementImpl
implements Column

An implementation of the model object 'Column'.

The following features are implemented:


Method Summary
 NotificationChain basicSetGenerateExpression(ValueExpression newGenerateExpression, NotificationChain msgs)
           
 NotificationChain basicSetIdentitySpecifier(IdentitySpecifier newIdentitySpecifier, NotificationChain msgs)
           
 NotificationChain basicSetTable(Table newTable, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, 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.datatools.modelbase.sql.schema.impl.TypedElementImpl
basicGetReferencedType, basicSetContainedType, getContainedType, getDataType, getReferencedType, setContainedType, setDataType, setReferencedType
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.TypedElement
getContainedType, getDataType, getReferencedType, setContainedType, setDataType, setReferencedType
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

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 NotificationChain basicSetTable(Table newTable,
                                       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 NotificationChain basicSetIdentitySpecifier(IdentitySpecifier newIdentitySpecifier,
                                                   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 NotificationChain basicSetGenerateExpression(ValueExpression newGenerateExpression,
                                                    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 NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class TypedElementImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class TypedElementImpl

eSet

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

Overrides:
eSet in class TypedElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class TypedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class TypedElementImpl

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl


Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.