net.sf.farrago.cwm.relational
Interface CwmPrimaryKeyClass

All Superinterfaces:
RefBaseObject, RefClass, RefFeatured
All Known Implementing Classes:
CwmPrimaryKeyClass$Hib

public interface CwmPrimaryKeyClass
extends RefClass

PrimaryKey class proxy interface. There is only one UniqueConstraint of type PrimaryKey per Table. It is implemented specifically by each RDBMS.

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
 CwmPrimaryKey createCwmPrimaryKey()
          The default factory operation used to create an instance object.
 CwmPrimaryKey createCwmPrimaryKey(String name, VisibilityKind visibility, 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

createCwmPrimaryKey

CwmPrimaryKey createCwmPrimaryKey()
The default factory operation used to create an instance object.

Returns:
The created instance object.

createCwmPrimaryKey

CwmPrimaryKey createCwmPrimaryKey(String name,
                                  VisibilityKind visibility,
                                  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.
deferrability - Indicates if the validity of the UniqueConstraint is to be tested at each statement or at the end of a transaction.
Returns:
The created instance object.