Show TOC

Linking an Abstract Data Type to a Java ClassLocate this document in the navigation structure

You can link an abstract data type in a PDM to a Java class in an OOM open in the Workspace to access the properties of the Java class within the PDM.

Context

Note If you reverse engineer Java classes from a database into an OOM (see Object-Oriented Modeling) before reverse-engineering the tables and other database objects into a PDM, then the Java classes that are reverse engineered into the PDM are created as abstract data types of type JAVA and linked to the appropriate classes in the OOM (if it remains open in the Workspace).

Procedure

  1. Create an abstract data type and select Java from the Type list.
  2. Click the Select tool to the right of the Class field to open a selection dialog listing all the Java classes that are available for linking.
  3. Select a Java class and click OK to link it to the abstract data type. The class name is displayed in the abstract data type property sheet Class field. Click the Properties tool to the right of this field to open the Java class property sheet.