uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Attribute

All Superinterfaces:
Element, ExtObject, Feature, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, StructuralFeature
All Known Implementing Classes:
Attribute_Impl

public interface Attribute
extends StructuralFeature

An attribute is a named slot within a classifier that describes a range of values that instances of the classifier may hold. In the metamodel, an Attribute is a named piece of the declared state of a Classifier, particularly the range of values that Instances of the Classifier may hold.


Method Summary
 AssociationEnd getAssociationEnd()
          Designates the optional AssociationEnd that owns a qualifier attribute.
 Expression getInitialValue()
          An Expression specifying the value of the attribute upon initialization.
 void setAssociationEnd(AssociationEnd associationEnd)
          Setter for atomic property associationEnd)
 void setInitialValue(Expression initialValue)
          Setter for atomic property initialValue)
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.StructuralFeature
getChangeability, getMultiplicity, getOrdering, getTargetScope, getType, setChangeability, setMultiplicity, setOrdering, setTargetScope, setType
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.Feature
getOwner, getOwnerScope, setOwner, setOwnerScope
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit
 
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

getInitialValue

Expression getInitialValue()
                           throws javax.jmi.reflect.JmiException
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.)

Throws:
javax.jmi.reflect.JmiException

setInitialValue

void setInitialValue(Expression initialValue)
                     throws javax.jmi.reflect.JmiException
Setter for atomic property initialValue)

Throws:
javax.jmi.reflect.JmiException

getAssociationEnd

AssociationEnd getAssociationEnd()
                                 throws javax.jmi.reflect.JmiException
Designates the optional AssociationEnd that owns a qualifier attribute. Note that an attribute may be part of an AssociationEnd (in which case it is a qualifier) or part of a Classifier (by inheritance from Feature, in which case it is a feature) but not both. If the value is empty, the attribute is not a qualifier attribute.

Throws:
javax.jmi.reflect.JmiException

setAssociationEnd

void setAssociationEnd(AssociationEnd associationEnd)
                       throws javax.jmi.reflect.JmiException
Setter for atomic property associationEnd)

Throws:
javax.jmi.reflect.JmiException