Interface CwmAttribute

All Superinterfaces:
CwmElement, CwmFeature, CwmModelElement, CwmStructuralFeature, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
CwmColumn, CwmUnionMember, FemAbstractAttribute, FemAbstractColumn, FemSqltypeAttribute, FemStoredColumn, FemViewColumn
All Known Implementing Classes:
CwmAttribute$Hib, CwmColumn$Hib, CwmUnionMember$Hib, FemSqltypeAttribute$Hib, FemStoredColumn$Hib, FemViewColumn$Hib

public interface CwmAttribute
extends CwmStructuralFeature

Attribute object instance interface. An Attribute describes a named slot within a classifier that may hold a value.

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
 CwmExpression getInitialValue()
          Returns the value of attribute initialValue.
 void setInitialValue(CwmExpression newValue)
          Sets the value of initialValue attribute.
Methods inherited from interface net.sf.farrago.cwm.core.CwmStructuralFeature
getChangeability, getMultiplicity, getOrdering, getTargetScope, getType, setChangeability, setMultiplicity, setOrdering, setTargetScope, setType
Methods inherited from interface net.sf.farrago.cwm.core.CwmFeature
getOwner, getOwnerScope, setOwner, setOwnerScope
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


CwmExpression getInitialValue()
Returns the value of attribute initialValue. An Expression specifying the value of the attribute upon initialization. It is meant to be evaluated at the time the object is initialized. (Note that an explicit constructor may supersede an initial value.)

Value of attribute initialValue.


void setInitialValue(CwmExpression newValue)
Sets the value of initialValue attribute. See getInitialValue() for description on the attribute.

newValue - New value to be set.