A link is an instance of an association. In the UML
metamodel Link
is a sub-class of
Instance
. Within a sequence diagram links are created
indirectly when an associated stimulus is created.
An link is represented on a sequence diagram in ArgoUML as a line connecting the instances concerned. However on a sequence diagram the representation is modified to reflect the type of action associated with the stimulus carried on the link (see Section 19.3, “ Stimulus ”).
The details tabs that are active for links are as follows.
ToDoItem
Standard tab.
Properties
See Section 19.9.2, “ Link Property Toolbar ” and Section 19.9.3, “ Property Fields For Link ” below.
Documentation
Standard tab.
Presentation
Standard tab.
![]() | Note |
---|---|
The values in the "bounds" field of the link are not editable, since they are determined by the properties of the endpoints of the line. |
Source
Standard tab, but with no contents.
![]() | Caution |
---|---|
A link should not generate any code, so having this tab active is probably a mistake. |
Tagged Values
Standard tab. In the UML metamodel,
Link
has the following standard tagged values
defined.
persistence
(from the
superclass, Instance
. Showing
the permanence of the state information associated
with the link. Values transitory
(state is destroyed when the link is destroyed) and
persistent
(state is preserved
when the link is destroyed).
derived
(from the
superclass, ModelElement
).
Values true
, meaning the link is
redundant -it can be formally derived from other
elements, or false
meaning it
cannot.
![]() | Note |
---|---|
Derived links still have their value in analysis and design to introduce useful names or concepts, and in design to avoid re-computation. |
![]() | Note |
---|---|
The UML |
Checklist
Standard tab for a Classifier.
Go up
Navigate up through the package structure.
New Stereotype
This creates a new Stereotype (see Section 16.6, “ Stereotype ”) for the selected link, navigating immediately to the properties tab for that stereotype.
Delete
This deletes the link from the model
![]() | Warning |
---|---|
This is a deletion from the model
not just the diagram. To delete
an link from the diagram, but keep it within the
model, use the main menu |
Name
Text box. The name of the link. By convention link names start with a lower case letter and use bumpy caps to divide words within the name.
![]() | Note |
---|---|
ArgoUML does not enforce this naming convention. |
Stereotype
Drop down selector. Link has no stereotypes by default in the UML standard.
Navigate Stereotype
icon. If a stereotype has been selected, this will
navigate to the stereotype property panel (see
Section 18.5, “
Stereotype
”).
Namespace
Text box. Records the namespace for the link. This is the package hierarchy.
Connections
List box. Lists the connections of the link, i.e. the link-ends.
Button 1 double click on the entry will navigate to the link-end.