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.
- If you have not create a class model or a Java package yet, add one.
- Select the data model by right-clicking it > Generate Java package. The Generate Class Model window will appear.
- Choose the location of the package: class model or package. Upon clicking
the box, a selection will appear.
- 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).
- Set the field visibility of the generated class fields.
- 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.