net.sf.farrago.cwm.relational
Interface CwmUniqueConstraintClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmUniqueConstraintClass$Hib
public interface CwmUniqueConstraintClass
- extends RefClass
UniqueConstraint class proxy interface.
A condition to define uniqueness of rows in a table. An example of
UniqueConstraint is a primary key
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.
createCwmUniqueConstraint
CwmUniqueConstraint createCwmUniqueConstraint()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmUniqueConstraint
CwmUniqueConstraint createCwmUniqueConstraint(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.