|
||||||||||
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 ForeignKey
MatchType
,
ForeignKey.setMatch(MatchType)
,
SQLConstraintsPackage.getForeignKey_Match()
public void setMatch(MatchType newMatch)
setMatch
in interface ForeignKey
newMatch
- the new value of the 'Match' attribute.MatchType
,
ForeignKey.getMatch()
public ReferentialActionType getOnUpdate()
getOnUpdate
in interface ForeignKey
ReferentialActionType
,
ForeignKey.setOnUpdate(ReferentialActionType)
,
SQLConstraintsPackage.getForeignKey_OnUpdate()
public void setOnUpdate(ReferentialActionType newOnUpdate)
setOnUpdate
in interface ForeignKey
newOnUpdate
- the new value of the 'On Update' attribute.ReferentialActionType
,
ForeignKey.getOnUpdate()
public ReferentialActionType getOnDelete()
getOnDelete
in interface ForeignKey
ReferentialActionType
,
ForeignKey.setOnDelete(ReferentialActionType)
,
SQLConstraintsPackage.getForeignKey_OnDelete()
public void setOnDelete(ReferentialActionType newOnDelete)
setOnDelete
in interface ForeignKey
newOnDelete
- the new value of the 'On Delete' attribute.ReferentialActionType
,
ForeignKey.getOnDelete()
public UniqueConstraint getUniqueConstraint()
getUniqueConstraint
in interface ForeignKey
ForeignKey.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 ForeignKey
newUniqueConstraint
- the new value of the 'Unique Constraint' reference.ForeignKey.getUniqueConstraint()
public EList getReferencedMembers()
getReferencedMembers
in interface ForeignKey
SQLConstraintsPackage.getForeignKey_ReferencedMembers()
public Index getUniqueIndex()
getUniqueIndex
in interface ForeignKey
ForeignKey.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 ForeignKey
newUniqueIndex
- the new value of the 'Unique Index' reference.ForeignKey.getUniqueIndex()
public BaseTable getReferencedTable()
getReferencedTable
in interface ForeignKey
ForeignKey.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 ForeignKey
newReferencedTable
- 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 ReferenceConstraintImpl
public void eUnset(int featureID)
eUnset
in class ReferenceConstraintImpl
public boolean eIsSet(int featureID)
eIsSet
in class ReferenceConstraintImpl
public java.lang.String toString()
toString
in class ConstraintImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |