Creating implements relationships between Java classes and interfaces in domain modeling class diagrams

You can use domain modeling class diagrams to create implements relationships between Java™ classes and interfaces.

Before you begin

You cannot create an implements relationship in the following situations:
  • Between a class and an interface if such a relationship already exists between the two
  • If the source class is in a named package and the target interface is in a default package
  • If both the source class and the target interface are in default packages but in different projects or plug-ins

You must have a domain modeling class diagram with Java classes and interfaces open.

About this task

You can also use the modeling assistant to create implements relationships.

Procedure

  1. In the Palette, click Implements.
  2. In the diagram editor, click a Java class, drag it to a Java interface, and release the mouse button.

Feedback