net.sf.farrago.cwm.instance
Interface CwmSlotClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmSlotClass$Hib
public interface CwmSlotClass
- extends RefClass
Slot class proxy interface.
A slot is a named location in an Object instance that holds the current
value of the StructuralFeature associated with the Slot instance.
Normally, the StructuralFeature associated with the slot will be either an
Attribute instance or an AssociationEnd instance. Slots are owned by
Objects; DataValues do not have slots.
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.
createCwmSlot
CwmSlot createCwmSlot()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmSlot
CwmSlot createCwmSlot(String name,
VisibilityKind visibility)
- 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.
- Returns:
- The created instance object.