|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssociationEnd
An association end is an endpoint of an association, which connects the association to a classifier. Each association end is part of one association. The association-ends of each association are ordered. In the metamodel, an AssociationEnd is part of an Association and specifies the connection of an Association to a Classifier. It has a name and defines a set of properties of the connection (e.g., which Classifier the Instances must conform to, their multiplicity, and if they may be reached from another Instance via this connection). In the following descriptions when referring to an association end for a binary association, the source end is the other end. The target end is the one whose properties are being discussed.
Method Summary | |
---|---|
AggregationKind |
getAggregation()
When placed on one end (the “target” end), specifies whether the class on the target end is an aggregation with respect to the class on the other end (the “source”end). |
Association |
getAssociation()
Designates the Association that owns the AssociationEnd. |
ChangeableKind |
getChangeability()
Specifies whether or not links may be created or destroyed after the initialization of objects at the opposite ends. |
boolean |
getIsNavigable()
When placed on a target end, specifies whether traversal from a source instance to its associated target instances is possible. |
Multiplicity |
getMultiplicity()
When placed on a target end, specifies the number of target instances that may be associated with a single source instance across the given Association. |
OrderingKind |
getOrdering()
When placed on a target end, specifies whether the set of links from the source instance to the target instance is ordered. |
Classifier |
getParticipant()
Designates the Classifier participating in the Association at the given end. |
List |
getQualifier()
An optional list of qualifier Attributes for the end. |
Collection |
getSpecification()
Designates zero or more Classifiers that specify the Operations that may be applied to an Instance accessed by the AssociationEnd across the Association. |
ScopeKind |
getTargetScope()
Specifies whether the target value is an instance or a classifier. |
void |
setAggregation(AggregationKind aggregation)
Setter for atomic property aggregation) |
void |
setAssociation(Association association)
Setter for atomic property association) |
void |
setChangeability(ChangeableKind changeability)
Setter for atomic property changeability) |
void |
setIsNavigable(boolean isNavigable)
Setter for atomic property isNavigable) |
void |
setMultiplicity(Multiplicity multiplicity)
Setter for atomic property multiplicity) |
void |
setOrdering(OrderingKind ordering)
Setter for atomic property ordering) |
void |
setParticipant(Classifier participant)
Setter for atomic property participant) |
void |
setTargetScope(ScopeKind targetScope)
Setter for atomic property targetScope) |
int |
upperBound()
The operation upperBound returns the maximum upperbound value across all potential ranges of a multiplicity. |
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 |
---|
AggregationKind getAggregation() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setAggregation(AggregationKind aggregation) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
ChangeableKind getChangeability() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setChangeability(ChangeableKind changeability) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
OrderingKind getOrdering() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setOrdering(OrderingKind ordering) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean getIsNavigable() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setIsNavigable(boolean isNavigable) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Multiplicity getMultiplicity() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setMultiplicity(Multiplicity multiplicity) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
ScopeKind getTargetScope() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setTargetScope(ScopeKind targetScope) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
List getQualifier() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getSpecification() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Classifier getParticipant() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setParticipant(Classifier participant) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Association getAssociation() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setAssociation(Association association) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
int upperBound()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |