/** * <copyright> * </copyright> * * $Id$ */ package orgomg.cwm.objectmodel.core; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Attribute</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * An Attribute describes a named slot within a classifier that may hold a value. * <!-- end-model-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link orgomg.cwm.objectmodel.core.Attribute#getInitialValue <em>Initial Value</em>}</li> * </ul> * </p> * * @see orgomg.cwm.objectmodel.core.CorePackage#getAttribute() * @model * @generated */ public interface Attribute extends StructuralFeature { /** * Returns the value of the '<em><b>Initial Value</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * 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.) * <!-- end-model-doc --> * @return the value of the '<em>Initial Value</em>' containment reference. * @see #setInitialValue(Expression) * @see orgomg.cwm.objectmodel.core.CorePackage#getAttribute_InitialValue() * @model containment="true" * @generated */ Expression getInitialValue(); /** * Sets the value of the '{@link orgomg.cwm.objectmodel.core.Attribute#getInitialValue <em>Initial Value</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Initial Value</em>' containment reference. * @see #getInitialValue() * @generated */ void setInitialValue(Expression value); } // Attribute