net.sf.farrago.cwm.instance
Interface CwmInstanceClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmInstanceClass$Hib
public interface CwmInstanceClass
- extends RefClass
Instance class proxy interface.
The instance construct defines an entity to which a set of operations can
be applied and which has a state that stores the effects of the
operations. In the metamodel Instance is connected to a Classifier that
declares its structure and behavior. It has a set of attribute values
matching the definition of its Classifier. The set of attribute values
implements the current state of the Instance. Because Instance is an
abstract class, all Instances are either Object or DataValue instances.
The data content of an Instance comprises one value for each attribute in
its full descriptor (and nothing more). The value must be consistent with
the type of the attribute. An instance must obey any constraints on the
full descriptor of the Classifier
of which it is an instance (including both explicit constraints and
built-in constraints such as multiplicity).
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.