net.sf.farrago.cwm.instance
Interface CwmSlot

All Superinterfaces:
CwmElement, CwmModelElement, RefBaseObject, RefFeatured, RefObject
All Known Implementing Classes:
CwmSlot$Hib

public interface CwmSlot
extends CwmModelElement

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


Method Summary
 CwmStructuralFeature getFeature()
          Returns the value of reference feature.
 CwmObject getObject()
          Returns the value of reference object.
 CwmInstance getValue()
          Returns the value of reference value.
 void setFeature(CwmStructuralFeature newValue)
          Sets the value of feature reference.
 void setObject(CwmObject newValue)
          Sets the value of object reference.
 void setValue(CwmInstance newValue)
          Sets the value of value 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

getObject

CwmObject getObject()
Returns the value of reference object.

Returns:
Value of reference object.

setObject

void setObject(CwmObject newValue)
Sets the value of object reference. See getObject() for description on the attribute.

Parameters:
newValue - New value to be set.

getValue

CwmInstance getValue()
Returns the value of reference value.

Returns:
Value of reference value.

setValue

void setValue(CwmInstance newValue)
Sets the value of value reference. See getValue() for description on the attribute.

Parameters:
newValue - New value to be set.

getFeature

CwmStructuralFeature getFeature()
Returns the value of reference feature.

Returns:
Value of reference feature.

setFeature

void setFeature(CwmStructuralFeature newValue)
Sets the value of feature reference. See getFeature() for description on the attribute.

Parameters:
newValue - New value to be set.