FileDocCategorySizeDatePackage
UMLAssociationEnd.javaAPI DocExample2893Tue Dec 08 01:21:00 GMT 1998oisoft.togetherx.scriptapi.UML

UMLAssociationEnd

public interface UMLAssociationEnd implements UMLElement
Presents association end (class role). An association can have roles connected to each of the classes involved in the association. The role name indicates the role played by the class in terms of association. getName() for UMLAssociationEnd returns the role name for the connected class in this association.
see
UMLAssociation
version
2.1.05 15.07.1998
author
Andrei Ivanov

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetCardinality()
Returns cardinality of the role Cardinality specifies how many instances of one class may be associated with a single instance of another class.

return
The possible values returned by this method are ( - any number):
0..0 Zero
0..1 Zero or one
0..n Zero or more
1..1 One
1..n One or more
n Unlimited number
Exact number, Example: 21
..n Exact number or more, Example: 21..n indicating 21 or more
.. Specified range, Example: 21..45
.., Specified range or exact number (Example: 21..45, 50, indicating 21 through 45 and 50)
.., .. Multiple specified ranges (Example: 21..45, 50..60)

public java.lang.StringgetQualifier()
Returns qualifier of the association. Association can be qualified. Qualified assocation are used with one-to-many or many-to-many associations. The qualifier distinguishes among the set of objects at the "many" end of association. The qualifier specifies how a specific object at the "many" end of association is identified. It can be considred as a kind of key to recognizing all the objects in the association.

public booleanisNavigable()
Indicates whether the role is navigable. It is possible to use navigable association. They are shown in the diagram with an arrow.

return
true, if this role is navigate.

public booleanisOrdered()
Indicates whether objects on this role side are ordered. The links between objects may have an implicit order.

return
true, if oredered.
see
UMLAssociationEnd#getQualifier