|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.Foundation.Core.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.
| Constructor Summary | |
AssociationEnd()
Constructor. |
|
| Method Summary | |
void |
add(Attribute elem)
Adds a qualifier to this association end. |
boolean |
check()
Checks if well-formedness rules are respected in this model element. |
java.lang.String |
getAggregation()
Gets the current association end aggregation kind. |
Association |
getAssociation()
Gets the identifier of the Association which holds this AssociationEnd. |
java.lang.String |
getChangeable()
Gets the current association end changeable kind. |
void |
getInfo()
Gets info on AssociationEnd. |
boolean |
getIsNavigable()
Gets the value of the isNavigable attribute. |
boolean |
getIsOrdered()
Gets the value of the isOrdered attribute. |
java.lang.String |
getMultiplicity()
Gets this association end multiplicity string. |
java.util.Vector |
getQualifier()
Gets the set of qualifiers of this association end. |
java.lang.String |
getTargetScope()
Gets the current association end targetScope kind. |
Classifier |
getType()
Gets the type of this association end. |
void |
setAggregation(java.lang.String mode)
Sets the association end aggregation attribute to the given kind. |
void |
setAssociation(java.lang.String association)
Sets the identifier of the Association holding this AssociationEnd. |
void |
setChangeable(java.lang.String mode)
Sets the association end changeable attribute to the given kind. |
void |
setIsNavigable(boolean isNavigable)
Sets the value of the isNavigable attribute to the
given true or false value. |
void |
setIsOrdered(java.lang.String mode)
Sets the value of the isOrdered attribute to the
given true or false value. |
void |
setMultiplicity(java.lang.String mode)
Sets this association end multiplicity. |
void |
setTargetScope(java.lang.String mode)
Sets the association end targetScope attribute to the given kind. |
void |
setType(java.lang.String type)
Sets this association end type identifier. |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AssociationEnd()
| Method Detail |
public void setIsNavigable(boolean isNavigable)
isNavigable attribute to the
given true or false value.
public boolean getIsNavigable()
isNavigable attribute.
public void setIsOrdered(java.lang.String mode)
isOrdered attribute to the
given true or false value.
public boolean getIsOrdered()
isOrdered attribute.
public void setAggregation(java.lang.String mode)
public java.lang.String getAggregation()
public void setChangeable(java.lang.String mode)
public java.lang.String getChangeable()
public void setTargetScope(java.lang.String mode)
public java.lang.String getTargetScope()
public void setMultiplicity(java.lang.String mode)
public java.lang.String getMultiplicity()
public void setType(java.lang.String type)
public Classifier getType()
public void setAssociation(java.lang.String association)
Associationpublic Association getAssociation()
Associationpublic void add(Attribute elem)
public java.util.Vector getQualifier()
public boolean check()
check in class ModelElementpublic void getInfo()
getInfo in class ModelElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||