UMLAssociationEndpublic interface UMLAssociationEnd implements UMLElementPresents 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. |
Methods Summary |
---|
public java.lang.String | getCardinality()Returns cardinality of the role
Cardinality specifies how many instances of one
class may be associated with a single instance
of another class.
| public java.lang.String | getQualifier()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 boolean | isNavigable()Indicates whether the role is navigable.
It is possible to use navigable association.
They are shown in the diagram with an arrow.
| public boolean | isOrdered()Indicates whether objects on this role side are ordered.
The links between objects may have
an implicit order.
|
|