org.eclipse.datatools.enablement.ase.catalog
Class SybaseASECatalogColumn

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.datatools.modelbase.sql.schema.impl.EModelElementImpl
                      extended by org.eclipse.datatools.modelbase.sql.schema.impl.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
                                      extended by org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel.impl.SybaseASEColumnImpl
                                          extended by org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, ICatalogObject, SybaseASEColumn, SybaseAuthorizedObject, SQLObject, TypedElement, Column, 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

public class SybaseASECatalogColumn
extends SybaseASEColumnImpl
implements ICatalogObject, org.eclipse.core.runtime.IAdaptable


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
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
 
Constructor Summary
SybaseASECatalogColumn()
           
 
Method Summary
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 SybaseASEDefault getBoundDefault()
           
 SybaseASERule getBoundRule()
           
 Database getCatalogDatabase()
           
 SybaseASEColumnCheckConstraint getColumnCheck()
           
 java.sql.Connection getConnection()
           
 SQLDataType getContainedType()
          Returns the value of the 'Contained Type' containment reference.
 DataType getDataType()
          Get the type for this TypedElement
 java.lang.String getDefaultValue()
          Returns the value of the 'Default Value' attribute.
 SybaseASEEncryptionKey getEncryptionKey()
           
 ValueExpression getGenerateExpression()
          Returns the value of the 'Generate Expression' containment reference.
 IdentitySpecifier getIdentitySpecifier()
          Returns the value of the 'Identity Specifier' containment reference.
 org.eclipse.emf.common.util.EList getPrivileges()
          Delegates to table.
 UserDefinedType getReferencedType()
          Returns the value of the 'Referenced Type' reference.
 boolean isHidden()
           
 boolean isMaterialized()
           
 boolean isNullable()
          Returns the value of the 'Nullable' attribute.
 void refresh()
           
 
Methods inherited from class org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel.impl.SybaseASEColumnImpl
basicGetBoundDefault, basicGetBoundRule, basicGetColumnCheck, basicGetEncryptionKey, basicSetColumnCheck, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, isBindDefaultInFutureOnly, isBindRuleInFutureOnly, isComputedColumn, setBindDefaultInFutureOnly, setBindRuleInFutureOnly, setBoundDefault, setBoundRule, setColumnCheck, setEncryptionKey, setHidden, setMaterialized, toString
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.tables.impl.ColumnImpl
basicSetGenerateExpression, basicSetIdentitySpecifier, basicSetTable, eBasicRemoveFromContainerFeature, getScopeCheck, getTable, isImplementationDependent, isPartOfForeignKey, isPartOfPrimaryKey, isPartOfUniqueConstraint, isScopeChecked, setDefaultValue, setGenerateExpression, setIdentitySpecifier, setImplementationDependent, setNullable, setScopeCheck, setScopeChecked, setTable
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.TypedElementImpl
basicGetReferencedType, basicSetContainedType, setContainedType, setDataType, setReferencedType
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, 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.datatools.modelbase.sql.tables.Column
getScopeCheck, getTable, isImplementationDependent, isPartOfForeignKey, isPartOfPrimaryKey, isPartOfUniqueConstraint, isScopeChecked, setDefaultValue, setGenerateExpression, setIdentitySpecifier, setImplementationDependent, setNullable, setScopeCheck, setScopeChecked, setTable
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.TypedElement
setContainedType, setDataType, setReferencedType
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, 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, eGet, eInvoke, eIsProxy, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

SybaseASECatalogColumn

public SybaseASECatalogColumn()
Method Detail

refresh

public void refresh()
Specified by:
refresh in interface ICatalogObject

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface ICatalogObject

getCatalogDatabase

public Database getCatalogDatabase()
Specified by:
getCatalogDatabase in interface ICatalogObject

eIsSet

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

getContainedType

public SQLDataType getContainedType()
Description copied from interface: TypedElement
Returns the value of the 'Contained Type' containment reference.

If the meaning of the 'Contained Type' containment reference isn't clear, there really should be more of a description here...

Specified by:
getContainedType in interface TypedElement
Overrides:
getContainedType in class org.eclipse.datatools.modelbase.sql.schema.impl.TypedElementImpl
Returns:
the value of the 'Contained Type' containment reference.
See Also:
TypedElement.setContainedType(SQLDataType), SQLSchemaPackage.getTypedElement_ContainedType()

getReferencedType

public UserDefinedType getReferencedType()
Description copied from interface: TypedElement
Returns the value of the 'Referenced Type' reference.

If the meaning of the 'Referenced Type' reference isn't clear, there really should be more of a description here...

Specified by:
getReferencedType in interface TypedElement
Overrides:
getReferencedType in class org.eclipse.datatools.modelbase.sql.schema.impl.TypedElementImpl
Returns:
the value of the 'Referenced Type' reference.
See Also:
TypedElement.setReferencedType(UserDefinedType), SQLSchemaPackage.getTypedElement_ReferencedType()

getDataType

public DataType getDataType()
Description copied from interface: TypedElement
Get the type for this TypedElement

Specified by:
getDataType in interface TypedElement
Overrides:
getDataType in class org.eclipse.datatools.modelbase.sql.schema.impl.TypedElementImpl

isHidden

public boolean isHidden()
Description copied from class: SybaseASEColumnImpl

Specified by:
isHidden in interface SybaseASEColumn
Overrides:
isHidden in class SybaseASEColumnImpl
Returns:
the value of the 'Hidden' attribute.
See Also:
SybaseASEColumn.setHidden(boolean), SybaseasesqlmodelPackage.getSybaseASEColumn_Hidden()

getDefaultValue

public java.lang.String getDefaultValue()
Description copied from interface: Column
Returns the value of the 'Default Value' attribute.

If the meaning of the 'Default Value' attribute isn't clear, there really should be more of a description here...

Specified by:
getDefaultValue in interface Column
Overrides:
getDefaultValue in class org.eclipse.datatools.modelbase.sql.tables.impl.ColumnImpl
Returns:
the value of the 'Default Value' attribute.
See Also:
Column.setDefaultValue(String), SQLTablesPackage.getColumn_DefaultValue()

getBoundDefault

public SybaseASEDefault getBoundDefault()
Description copied from class: SybaseASEColumnImpl

Specified by:
getBoundDefault in interface SybaseASEColumn
Overrides:
getBoundDefault in class SybaseASEColumnImpl
Returns:
the value of the 'Bound Default' reference.
See Also:
SybaseASEColumn.setBoundDefault(SybaseASEDefault), SybaseasesqlmodelPackage.getSybaseASEColumn_BoundDefault()

getGenerateExpression

public ValueExpression getGenerateExpression()
Description copied from interface: Column
Returns the value of the 'Generate Expression' containment reference.

If the meaning of the 'Generate Expression' reference isn't clear, there really should be more of a description here...

Specified by:
getGenerateExpression in interface Column
Overrides:
getGenerateExpression in class org.eclipse.datatools.modelbase.sql.tables.impl.ColumnImpl
Returns:
the value of the 'Generate Expression' containment reference.
See Also:
Column.setGenerateExpression(ValueExpression), SQLTablesPackage.getColumn_GenerateExpression()

getColumnCheck

public SybaseASEColumnCheckConstraint getColumnCheck()
Description copied from class: SybaseASEColumnImpl

Specified by:
getColumnCheck in interface SybaseASEColumn
Overrides:
getColumnCheck in class SybaseASEColumnImpl
Returns:
the value of the 'Column Check' reference.
See Also:
SybaseASEColumn.setColumnCheck(SybaseASEColumnCheckConstraint), SybaseasesqlmodelPackage.getSybaseASEColumn_ColumnCheck(), SybaseASEColumnCheckConstraint.getColumn()

getBoundRule

public SybaseASERule getBoundRule()
Description copied from class: SybaseASEColumnImpl

Specified by:
getBoundRule in interface SybaseASEColumn
Overrides:
getBoundRule in class SybaseASEColumnImpl
Returns:
the value of the 'Bound Rule' reference.
See Also:
SybaseASEColumn.setBoundRule(SybaseASERule), SybaseasesqlmodelPackage.getSybaseASEColumn_BoundRule()

isNullable

public boolean isNullable()
Description copied from interface: Column
Returns the value of the 'Nullable' attribute. The default value is "True".

If the meaning of the 'Nullable' attribute isn't clear, there really should be more of a description here...

Specified by:
isNullable in interface Column
Overrides:
isNullable in class org.eclipse.datatools.modelbase.sql.tables.impl.ColumnImpl
Returns:
the value of the 'Nullable' attribute.
See Also:
Column.setNullable(boolean), SQLTablesPackage.getColumn_Nullable()

getIdentitySpecifier

public IdentitySpecifier getIdentitySpecifier()
Description copied from interface: Column
Returns the value of the 'Identity Specifier' containment reference.

If the meaning of the 'Identity Specifier' containment reference isn't clear, there really should be more of a description here...

Specified by:
getIdentitySpecifier in interface Column
Overrides:
getIdentitySpecifier in class org.eclipse.datatools.modelbase.sql.tables.impl.ColumnImpl
Returns:
the value of the 'Identity Specifier' containment reference.
See Also:
Column.setIdentitySpecifier(IdentitySpecifier), SQLTablesPackage.getColumn_IdentitySpecifier()

isMaterialized

public boolean isMaterialized()
Description copied from class: SybaseASEColumnImpl

Specified by:
isMaterialized in interface SybaseASEColumn
Overrides:
isMaterialized in class SybaseASEColumnImpl
Returns:
the value of the 'Materialized' attribute.
See Also:
SybaseASEColumn.setMaterialized(boolean), SybaseasesqlmodelPackage.getSybaseASEColumn_Materialized()

getEncryptionKey

public SybaseASEEncryptionKey getEncryptionKey()
Description copied from class: SybaseASEColumnImpl

Specified by:
getEncryptionKey in interface SybaseASEColumn
Overrides:
getEncryptionKey in class SybaseASEColumnImpl
Returns:
the value of the 'Encryption Key' reference.
See Also:
SybaseASEColumn.setEncryptionKey(SybaseASEEncryptionKey), SybaseasesqlmodelPackage.getSybaseASEColumn_EncryptionKey()

getPrivileges

public org.eclipse.emf.common.util.EList getPrivileges()
Delegates to table.

Specified by:
getPrivileges in interface SQLObject
Overrides:
getPrivileges in class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
Returns:
the value of the 'Privileges' reference list.
See Also:
SQLSchemaPackage.getSQLObject_Privileges(), Privilege.getObject()

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable