|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ForeignKey
A representation of the model object 'Foreign Key'. Reference: 5WD-02-Foundation-2002-12 4.17 Integrity constraints
The following features are supported:
SQLConstraintsPackage.getForeignKey()| Method Summary | |
|---|---|
MatchType |
getMatch()
Returns the value of the 'Match' attribute. |
ReferentialActionType |
getOnDelete()
Returns the value of the 'On Delete' attribute. |
ReferentialActionType |
getOnUpdate()
Returns the value of the 'On Update' attribute. |
org.eclipse.emf.common.util.EList |
getReferencedMembers()
Returns the value of the 'Referenced Members' reference list. |
BaseTable |
getReferencedTable()
Returns the value of the 'Referenced Table' reference. |
UniqueConstraint |
getUniqueConstraint()
Returns the value of the 'Unique Constraint' reference. |
Index |
getUniqueIndex()
Returns the value of the 'Unique Index' reference. |
void |
setMatch(MatchType value)
Sets the value of the ' Match' attribute. |
void |
setOnDelete(ReferentialActionType value)
Sets the value of the ' On Delete' attribute. |
void |
setOnUpdate(ReferentialActionType value)
Sets the value of the ' On Update' attribute. |
void |
setReferencedTable(BaseTable value)
Sets the value of the ' Referenced Table' reference. |
void |
setUniqueConstraint(UniqueConstraint value)
Sets the value of the ' Unique Constraint' reference. |
void |
setUniqueIndex(Index value)
Sets the value of the ' Unique Index' reference. |
| 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, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
| Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject |
|---|
getInstanceProperties |
| Methods inherited from interface commonj.sdo.DataObject |
|---|
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, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset |
| Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
|---|
getName, setName |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotations |
| Method Detail |
|---|
MatchType getMatch()
"MATCH_SIMPLE".
The literals are from the enumeration MatchType.
If the meaning of the 'Match' attribute isn't clear, there really should be more of a description here...
MatchType,
setMatch(MatchType),
SQLConstraintsPackage.getForeignKey_Match()void setMatch(MatchType value)
Match' attribute.
value - the new value of the 'Match' attribute.MatchType,
getMatch()ReferentialActionType getOnUpdate()
"NO_ACTION".
The literals are from the enumeration ReferentialActionType.
If the meaning of the 'On Update' attribute isn't clear, there really should be more of a description here...
ReferentialActionType,
setOnUpdate(ReferentialActionType),
SQLConstraintsPackage.getForeignKey_OnUpdate()void setOnUpdate(ReferentialActionType value)
On Update' attribute.
value - the new value of the 'On Update' attribute.ReferentialActionType,
getOnUpdate()ReferentialActionType getOnDelete()
"NO_ACTION".
The literals are from the enumeration ReferentialActionType.
If the meaning of the 'On Delete' attribute isn't clear, there really should be more of a description here...
ReferentialActionType,
setOnDelete(ReferentialActionType),
SQLConstraintsPackage.getForeignKey_OnDelete()void setOnDelete(ReferentialActionType value)
On Delete' attribute.
value - the new value of the 'On Delete' attribute.ReferentialActionType,
getOnDelete()UniqueConstraint getUniqueConstraint()
Foreign Key'.
If the meaning of the 'Unique Constraint' reference isn't clear, there really should be more of a description here...
setUniqueConstraint(UniqueConstraint),
SQLConstraintsPackage.getForeignKey_UniqueConstraint(),
UniqueConstraint.getForeignKey()void setUniqueConstraint(UniqueConstraint value)
Unique Constraint' reference.
value - the new value of the 'Unique Constraint' reference.getUniqueConstraint()org.eclipse.emf.common.util.EList getReferencedMembers()
Column.
If the meaning of the 'Referenced Members' reference list isn't clear, there really should be more of a description here...
SQLConstraintsPackage.getForeignKey_ReferencedMembers()Index getUniqueIndex()
Foreign Key'.
If the meaning of the 'Unique Index' reference isn't clear, there really should be more of a description here...
setUniqueIndex(Index),
SQLConstraintsPackage.getForeignKey_UniqueIndex(),
Index.getForeignKey()void setUniqueIndex(Index value)
Unique Index' reference.
value - the new value of the 'Unique Index' reference.getUniqueIndex()BaseTable getReferencedTable()
Referencing Foreign Keys'.
If the meaning of the 'Referenced Table' reference isn't clear, there really should be more of a description here...
setReferencedTable(BaseTable),
SQLConstraintsPackage.getForeignKey_ReferencedTable(),
BaseTable.getReferencingForeignKeys()void setReferencedTable(BaseTable value)
Referenced Table' reference.
value - the new value of the 'Referenced Table' reference.getReferencedTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||