net.sf.farrago.cwm.relational
Interface CwmCheckConstraintClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmCheckConstraintClass$Hib
public interface CwmCheckConstraintClass
- extends RefClass
CheckConstraint class proxy interface.
A rule that specifies the values allowed in one or more columns of every
row of a 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.
createCwmCheckConstraint
CwmCheckConstraint createCwmCheckConstraint()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmCheckConstraint
CwmCheckConstraint createCwmCheckConstraint(String name,
VisibilityKind visibility,
CwmBooleanExpression body,
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.body
- A BooleanExpression that must be true when evaluated for
an instance of a system to be well-formed. A boolean expression
defining the constraint. Expressions are written as strings in a
designated language. For the model to be well formed, the expression
must always yield a true value when evaluated for instances of the
constrained elements at any time when the system is stable (i.e., not
during the execution of an atomic operation).deferrability
- Indicates the timing of the constraint
enforcement during multiple-user updates.
- Returns:
- The created instance object.