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

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.constraints.impl.ConstraintImpl
                                  extended by org.eclipse.datatools.modelbase.sql.constraints.impl.TableConstraintImpl
                                      extended by org.eclipse.datatools.modelbase.sql.constraints.impl.ReferenceConstraintImpl
                                          extended by org.eclipse.datatools.modelbase.sql.constraints.impl.ForeignKeyImpl
                                              extended by org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogForeignKey
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, ICatalogObject, Constraint, ForeignKey, ReferenceConstraint, TableConstraint, SQLObject, 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 SybaseASECatalogForeignKey
extends ForeignKeyImpl
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>
 
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
SybaseASECatalogForeignKey()
           
 
Method Summary
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 Database getCatalogDatabase()
           
 java.sql.Connection getConnection()
           
 MatchType getMatch()
           
 org.eclipse.emf.common.util.EList getMembers()
           
 org.eclipse.emf.common.util.EList getReferencedMembers()
           
 BaseTable getReferencedTable()
           
 UniqueConstraint getUniqueConstraint()
           
 Index getUniqueIndex()
           
 void refresh()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.constraints.impl.ForeignKeyImpl
basicGetReferencedTable, basicGetUniqueConstraint, basicGetUniqueIndex, basicSetReferencedTable, basicSetUniqueConstraint, basicSetUniqueIndex, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getOnDelete, getOnUpdate, setMatch, setOnDelete, setOnUpdate, setReferencedTable, setUniqueConstraint, setUniqueIndex, toString
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.constraints.impl.TableConstraintImpl
basicSetBaseTable, eBasicRemoveFromContainerFeature, getBaseTable, setBaseTable
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.constraints.impl.ConstraintImpl
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, 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, 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, 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.constraints.TableConstraint
getBaseTable, setBaseTable
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.constraints.Constraint
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, 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, 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

SybaseASECatalogForeignKey

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

getReferencedTable

public BaseTable getReferencedTable()
Description copied from class: ForeignKeyImpl

Specified by:
getReferencedTable in interface ForeignKey
Overrides:
getReferencedTable in class ForeignKeyImpl
Returns:
the value of the 'Referenced Table' reference.
See Also:
ForeignKey.setReferencedTable(BaseTable), SQLConstraintsPackage.getForeignKey_ReferencedTable(), BaseTable.getReferencingForeignKeys()

getMembers

public org.eclipse.emf.common.util.EList getMembers()
Description copied from class: ReferenceConstraintImpl

Specified by:
getMembers in interface ReferenceConstraint
Overrides:
getMembers in class ReferenceConstraintImpl
Returns:
the value of the 'Members' reference list.
See Also:
SQLConstraintsPackage.getReferenceConstraint_Members()

getReferencedMembers

public org.eclipse.emf.common.util.EList getReferencedMembers()
Description copied from class: ForeignKeyImpl

Specified by:
getReferencedMembers in interface ForeignKey
Overrides:
getReferencedMembers in class ForeignKeyImpl
Returns:
the value of the 'Referenced Members' reference list.
See Also:
SQLConstraintsPackage.getForeignKey_ReferencedMembers()

getUniqueConstraint

public UniqueConstraint getUniqueConstraint()
Description copied from class: ForeignKeyImpl

Specified by:
getUniqueConstraint in interface ForeignKey
Overrides:
getUniqueConstraint in class ForeignKeyImpl
Returns:
the value of the 'Unique Constraint' reference.
See Also:
ForeignKey.setUniqueConstraint(UniqueConstraint), SQLConstraintsPackage.getForeignKey_UniqueConstraint(), UniqueConstraint.getForeignKey()

getUniqueIndex

public Index getUniqueIndex()
Description copied from class: ForeignKeyImpl

Specified by:
getUniqueIndex in interface ForeignKey
Overrides:
getUniqueIndex in class ForeignKeyImpl
Returns:
the value of the 'Unique Index' reference.
See Also:
ForeignKey.setUniqueIndex(Index), SQLConstraintsPackage.getForeignKey_UniqueIndex(), Index.getForeignKey()

getAdapter

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

getMatch

public MatchType getMatch()
Description copied from class: ForeignKeyImpl

Specified by:
getMatch in interface ForeignKey
Overrides:
getMatch in class ForeignKeyImpl
Returns:
the value of the 'Match' attribute.
See Also:
MatchType, ForeignKey.setMatch(MatchType), SQLConstraintsPackage.getForeignKey_Match()