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.
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 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 |
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