org.eclipse.wst.rdb.internal.models.sql.constraints.impl
Class ForeignKeyImpl

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.constraints.impl.ConstraintImpl
                                            |
                                            +--org.eclipse.wst.rdb.internal.models.sql.constraints.impl.TableConstraintImpl
                                                  |
                                                  +--org.eclipse.wst.rdb.internal.models.sql.constraints.impl.ReferenceConstraintImpl
                                                        |
                                                        +--org.eclipse.wst.rdb.internal.models.sql.constraints.impl.ForeignKeyImpl
All Implemented Interfaces:
Constraint, commonj.sdo.DataObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, ForeignKey, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, ReferenceConstraint, java.io.Serializable, SQLObject, TableConstraint

public class ForeignKeyImpl
extends ReferenceConstraintImpl
implements ForeignKey

An implementation of the model object 'Foreign Key'.

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
 UniqueConstraint basicGetUniqueConstraint()
          
 Index basicGetUniqueIndex()
          
 org.eclipse.emf.common.notify.NotificationChain basicSetUniqueConstraint(UniqueConstraint newUniqueConstraint, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain basicSetUniqueIndex(Index newUniqueIndex, 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)
          
 MatchType getMatch()
          
 ReferentialActionType getOnDelete()
          
 ReferentialActionType getOnUpdate()
          
 org.eclipse.emf.common.util.EList getReferencedMembers()
          
 UniqueConstraint getUniqueConstraint()
          
 Index getUniqueIndex()
          
 void setMatch(MatchType newMatch)
          
 void setOnDelete(ReferentialActionType newOnDelete)
          
 void setOnUpdate(ReferentialActionType newOnUpdate)
          
 void setUniqueConstraint(UniqueConstraint newUniqueConstraint)
          
 void setUniqueIndex(Index newUniqueIndex)
          
 java.lang.String toString()
          
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.constraints.impl.ReferenceConstraintImpl
getMembers
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.constraints.impl.TableConstraintImpl
getBaseTable, setBaseTable
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.constraints.impl.ConstraintImpl
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
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.constraints.ReferenceConstraint
getMembers
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.constraints.TableConstraint
getBaseTable, setBaseTable
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.constraints.Constraint
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
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

getMatch

public MatchType getMatch()
Specified by:
getMatch in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Returns:
the value of the 'Match' attribute.
See Also:
MatchType, ForeignKey.setMatch(MatchType), SQLConstraintsPackage.getForeignKey_Match()

setMatch

public void setMatch(MatchType newMatch)
Specified by:
setMatch in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Parameters:
value - the new value of the 'Match' attribute.
See Also:
MatchType, ForeignKey.getMatch()

getOnUpdate

public ReferentialActionType getOnUpdate()
Specified by:
getOnUpdate in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Returns:
the value of the 'On Update' attribute.
See Also:
ReferentialActionType, ForeignKey.setOnUpdate(ReferentialActionType), SQLConstraintsPackage.getForeignKey_OnUpdate()

setOnUpdate

public void setOnUpdate(ReferentialActionType newOnUpdate)
Specified by:
setOnUpdate in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Parameters:
value - the new value of the 'On Update' attribute.
See Also:
ReferentialActionType, ForeignKey.getOnUpdate()

getOnDelete

public ReferentialActionType getOnDelete()
Specified by:
getOnDelete in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Returns:
the value of the 'On Delete' attribute.
See Also:
ReferentialActionType, ForeignKey.setOnDelete(ReferentialActionType), SQLConstraintsPackage.getForeignKey_OnDelete()

setOnDelete

public void setOnDelete(ReferentialActionType newOnDelete)
Specified by:
setOnDelete in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Parameters:
value - the new value of the 'On Delete' attribute.
See Also:
ReferentialActionType, ForeignKey.getOnDelete()

getUniqueConstraint

public UniqueConstraint getUniqueConstraint()
Specified by:
getUniqueConstraint in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Returns:
the value of the 'Unique Constraint' reference.
See Also:
ForeignKey.setUniqueConstraint(UniqueConstraint), SQLConstraintsPackage.getForeignKey_UniqueConstraint(), UniqueConstraint.getForeignKey()

basicGetUniqueConstraint

public UniqueConstraint basicGetUniqueConstraint()

basicSetUniqueConstraint

public org.eclipse.emf.common.notify.NotificationChain basicSetUniqueConstraint(UniqueConstraint newUniqueConstraint,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)

setUniqueConstraint

public void setUniqueConstraint(UniqueConstraint newUniqueConstraint)
Specified by:
setUniqueConstraint in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Parameters:
value - the new value of the 'Unique Constraint' reference.
See Also:
ForeignKey.getUniqueConstraint()

getReferencedMembers

public org.eclipse.emf.common.util.EList getReferencedMembers()
Specified by:
getReferencedMembers in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Returns:
the value of the 'Referenced Members' reference list.
See Also:
SQLConstraintsPackage.getForeignKey_ReferencedMembers()

getUniqueIndex

public Index getUniqueIndex()
Specified by:
getUniqueIndex in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Returns:
the value of the 'Unique Index' reference.
See Also:
ForeignKey.setUniqueIndex(Index), SQLConstraintsPackage.getForeignKey_UniqueIndex(), Index.getForeignKey()

basicGetUniqueIndex

public Index basicGetUniqueIndex()

basicSetUniqueIndex

public org.eclipse.emf.common.notify.NotificationChain basicSetUniqueIndex(Index newUniqueIndex,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)

setUniqueIndex

public void setUniqueIndex(Index newUniqueIndex)
Specified by:
setUniqueIndex in interface ForeignKey
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.ForeignKey
Parameters:
value - the new value of the 'Unique Index' reference.
See Also:
ForeignKey.getUniqueIndex()

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 ReferenceConstraintImpl

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 ReferenceConstraintImpl

eBasicRemoveFromContainer

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

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 ReferenceConstraintImpl

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 ReferenceConstraintImpl

eUnset

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

eIsSet

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

toString

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