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.


Method Summary
 CwmForeignKey createCwmForeignKey()
          The default factory operation used to create an instance object.
 CwmForeignKey createCwmForeignKey(String name, VisibilityKind visibility, ReferentialRuleType deleteRule, ReferentialRuleType updateRule, DeferrabilityType deferrability)
          Creates an instance object having attributes initialized by the passed values.
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

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 record
deferrability - 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.