You can use Unified Modeling Language (UML) class diagrams to create
incoming relationships from targets to sources between Java™ elements.
To create a relationship from a target to a source:
- In the diagram editor, place the cursor over the target classifier
until the connector handles appear.
- Click the incoming connector handle, drag it to the source Java element,
and release the mouse button.
- In the pop-up window, click a relationship type.