|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectENamedElementImpl
org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
org.eclipse.datatools.modelbase.sql.constraints.impl.ConstraintImpl
org.eclipse.datatools.modelbase.sql.constraints.impl.TableConstraintImpl
org.eclipse.datatools.modelbase.sql.constraints.impl.ReferenceConstraintImpl
org.eclipse.datatools.modelbase.sql.constraints.impl.ForeignKeyImpl
An implementation of the model object 'Foreign Key'.
The following features are implemented:
| Method Summary | |
BaseTable |
basicGetReferencedTable()
|
UniqueConstraint |
basicGetUniqueConstraint()
|
Index |
basicGetUniqueIndex()
|
NotificationChain |
basicSetReferencedTable(BaseTable newReferencedTable,
NotificationChain msgs)
|
NotificationChain |
basicSetUniqueConstraint(UniqueConstraint newUniqueConstraint,
NotificationChain msgs)
|
NotificationChain |
basicSetUniqueIndex(Index newUniqueIndex,
NotificationChain msgs)
|
NotificationChain |
eBasicRemoveFromContainer(NotificationChain msgs)
|
java.lang.Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
|
void |
eUnset(EStructuralFeature eFeature)
|
MatchType |
getMatch()
|
ReferentialActionType |
getOnDelete()
|
ReferentialActionType |
getOnUpdate()
|
EList |
getReferencedMembers()
|
BaseTable |
getReferencedTable()
|
UniqueConstraint |
getUniqueConstraint()
|
Index |
getUniqueIndex()
|
void |
setMatch(MatchType newMatch)
|
void |
setOnDelete(ReferentialActionType newOnDelete)
|
void |
setOnUpdate(ReferentialActionType newOnUpdate)
|
void |
setReferencedTable(BaseTable newReferencedTable)
|
void |
setUniqueConstraint(UniqueConstraint newUniqueConstraint)
|
void |
setUniqueIndex(Index newUniqueIndex)
|
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.datatools.modelbase.sql.constraints.impl.ReferenceConstraintImpl |
getMembers |
| Methods inherited from class org.eclipse.datatools.modelbase.sql.constraints.impl.TableConstraintImpl |
getBaseTable, setBaseTable |
| Methods inherited from class org.eclipse.datatools.modelbase.sql.constraints.impl.ConstraintImpl |
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred |
| 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.ReferenceConstraint |
getMembers |
| 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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
| Method Detail |
public MatchType getMatch()
getMatch in interface ForeignKeyMatchType,
ForeignKey.setMatch(MatchType),
SQLConstraintsPackage.getForeignKey_Match()public void setMatch(MatchType newMatch)
setMatch in interface ForeignKeynewMatch - the new value of the 'Match' attribute.MatchType,
ForeignKey.getMatch()public ReferentialActionType getOnUpdate()
getOnUpdate in interface ForeignKeyReferentialActionType,
ForeignKey.setOnUpdate(ReferentialActionType),
SQLConstraintsPackage.getForeignKey_OnUpdate()public void setOnUpdate(ReferentialActionType newOnUpdate)
setOnUpdate in interface ForeignKeynewOnUpdate - the new value of the 'On Update' attribute.ReferentialActionType,
ForeignKey.getOnUpdate()public ReferentialActionType getOnDelete()
getOnDelete in interface ForeignKeyReferentialActionType,
ForeignKey.setOnDelete(ReferentialActionType),
SQLConstraintsPackage.getForeignKey_OnDelete()public void setOnDelete(ReferentialActionType newOnDelete)
setOnDelete in interface ForeignKeynewOnDelete - the new value of the 'On Delete' attribute.ReferentialActionType,
ForeignKey.getOnDelete()public UniqueConstraint getUniqueConstraint()
getUniqueConstraint in interface ForeignKeyForeignKey.setUniqueConstraint(UniqueConstraint),
SQLConstraintsPackage.getForeignKey_UniqueConstraint(),
UniqueConstraint.getForeignKey()public UniqueConstraint basicGetUniqueConstraint()
public NotificationChain basicSetUniqueConstraint(UniqueConstraint newUniqueConstraint,
NotificationChain msgs)
public void setUniqueConstraint(UniqueConstraint newUniqueConstraint)
setUniqueConstraint in interface ForeignKeynewUniqueConstraint - the new value of the 'Unique Constraint' reference.ForeignKey.getUniqueConstraint()public EList getReferencedMembers()
getReferencedMembers in interface ForeignKeySQLConstraintsPackage.getForeignKey_ReferencedMembers()public Index getUniqueIndex()
getUniqueIndex in interface ForeignKeyForeignKey.setUniqueIndex(Index),
SQLConstraintsPackage.getForeignKey_UniqueIndex(),
Index.getForeignKey()public Index basicGetUniqueIndex()
public NotificationChain basicSetUniqueIndex(Index newUniqueIndex,
NotificationChain msgs)
public void setUniqueIndex(Index newUniqueIndex)
setUniqueIndex in interface ForeignKeynewUniqueIndex - the new value of the 'Unique Index' reference.ForeignKey.getUniqueIndex()public BaseTable getReferencedTable()
getReferencedTable in interface ForeignKeyForeignKey.setReferencedTable(BaseTable),
SQLConstraintsPackage.getForeignKey_ReferencedTable(),
BaseTable.getReferencingForeignKeys()public BaseTable basicGetReferencedTable()
public NotificationChain basicSetReferencedTable(BaseTable newReferencedTable,
NotificationChain msgs)
public void setReferencedTable(BaseTable newReferencedTable)
setReferencedTable in interface ForeignKeynewReferencedTable - the new value of the 'Referenced Table' reference.ForeignKey.getReferencedTable()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
eInverseAdd in class ReferenceConstraintImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
eInverseRemove in class ReferenceConstraintImplpublic NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
eBasicRemoveFromContainer in class ReferenceConstraintImpl
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in class ReferenceConstraintImpl
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
eSet in class ReferenceConstraintImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in class ReferenceConstraintImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in class ReferenceConstraintImplpublic java.lang.String toString()
toString in class ConstraintImpl
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||