Interface CwmInstance

All Superinterfaces:
CwmElement, CwmModelElement, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
CwmColumnValue, CwmDataValue, CwmObject, CwmRow
All Known Implementing Classes:
CwmColumnValue$Hib, CwmDataValue$Hib, CwmObject$Hib, CwmRow$Hib

public interface CwmInstance
extends CwmModelElement

Instance object instance 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.

Method Summary
 CwmClassifier getClassifier()
          Returns the value of reference classifier.
 void setClassifier(CwmClassifier newValue)
          Sets the value of classifier reference.
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
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


CwmClassifier getClassifier()
Returns the value of reference classifier.

Value of reference classifier.


void setClassifier(CwmClassifier newValue)
Sets the value of classifier reference. See getClassifier() for description on the attribute.

newValue - New value to be set.