You can show related Java elements
in domain modeling class diagrams based on their relationships to
visually represent and develop Java applications.
Before you begin
You must have a domain modeling class diagram open.
About this task
To show Java elements based on relationships,
complete the following steps:
Procedure
- In the diagram editor, place the cursor over a source or
target Java classifier until the outgoing and incoming
connector handles appear; then double-click the outgoing or incoming
connector handle.
- In the pop-up window, select a relationship.
What to do next
Note: This procedure expands the related elements
of that relationship type to only one level. However, you can select
the Show Related Elements option and specify
the levels of depth to expand the related elements.