net.sf.farrago.cwm.relational
Interface CwmForeignKeyClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmForeignKeyClass$Hib
public interface CwmForeignKeyClass
- extends RefClass
ForeignKey class proxy interface.
A Foreign Key associates columns from one table with columns of another
table.
Note: This type should not be subclassed,
implemented or directly instantiated by clients. It is generated from a
MOF metamodel and implemented by Enki or MDR.
createCwmForeignKey
CwmForeignKey createCwmForeignKey()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmForeignKey
CwmForeignKey createCwmForeignKey(String name,
VisibilityKind visibility,
ReferentialRuleType deleteRule,
ReferentialRuleType updateRule,
DeferrabilityType deferrability)
- Creates an instance object having attributes initialized by the passed
values.
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.deleteRule
- An enumerated type. Indicates the disposition of the
data records containing the foreign key value when the record of the
matching primary key is deleted.updateRule
- Same as deleteRule for updates of the primary key
data recorddeferrability
- Indicates if the validity of the ForeignKey is to
be tested at each statement or at the end of a transaction.
- Returns:
- The created instance object.