|
||||||||||
| 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
public class 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)
|
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)
|
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 |
|---|
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, 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.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, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, 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,
NotificationChain msgs)
eInverseAdd in class TableConstraintImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class TableConstraintImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class ReferenceConstraintImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in class ReferenceConstraintImplpublic void eUnset(int featureID)
eUnset in class ReferenceConstraintImplpublic boolean eIsSet(int featureID)
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 | |||||||||