net.sf.farrago.cwm.instance
Interface CwmObject
- All Superinterfaces:
- CwmElement, CwmInstance, CwmModelElement, RefBaseObject, RefFeatured, RefObject
- All Known Subinterfaces:
- CwmRow
- All Known Implementing Classes:
- CwmObject$Hib, CwmRow$Hib
public interface CwmObject
- extends CwmInstance
Object object instance interface.
An object is an instance that originates from a class.
In the metamodel, Object is a subclass of Instance originating from a
Class. The Class may be modified dynamically, which means that the set of
features of the Object may change during its life-time.
An object is an instance that originates from a class; it is structured
and behaves according to its class. All objects originating from the same
class are structured in the same way, although each of them has its own
set of attribute slots. Each attribute slot references an instance,
usually a data value or possibly, another object. The number of attribute
slots with the same name fulfills the multiplicity of the corresponding
attribute in the class. The set may be modified according to the
specification in the corresponding attribute, e.g. each referenced
instance must originate from (a specialization of) the type of the
attribute, and attribute slots may be added or removed according to the
changeable property of the attribute.
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.
getSlot
Collection<CwmSlot> getSlot()
- Returns the value of reference slot.
- Returns:
- Value of reference slot. Element type:
CwmSlot