Generating a package from a data model


In order to accomplish the operation, you need a data model. If you wish to create links, you also need a link model.
  1. If you have not create a class model or a Java package yet, add one.

  2. Select the data model by right-clicking it > Generate Java package. The Generate Class Model window will appear.



  3. Choose the location of the package: class model or package. Upon clicking the box, a selection will appear.

  4. You can create links. If you decide to do so, check the Create Links box and choose your link model.
    Remember: a link model is required if this option is selected.
    • Table (source) to class (target).
    • Column (source) to field (target).


  5. Set the field visibility of the generated class fields.

  6. Click the Generate button to generate the package.



Generated objects

Data Model Package
The package containing the generated classes, fields and associations.

Data Types Package
The package containing the generated classes corresponding to the column's types.

Link Objects
If the link option was selected, link objects are generated in the specified link model.