Adding attributes

  1. Click Add Attribute in the entity editor, and enter the name in name, e.g. company.
  2. Select the data type in Type, e.g. String.
  3. Click Save.
Note:
Important properties:

Icon

Function

Change to Basic - This is the default setting of all attributes. Therefore, the @Basic annotation does not need to be explicitly set.

Change to Transient - Attributes labeled with @Transient are not persisted.

Change to Version - Labels the attribute with @Version. Version attributes are used for the optimistic locking of JPA.


Fetch Type, Insertable, Updateable, and @Transient have no match in the database. These settings are relevant when inserting, updating, and retrieving data from the database.

All other settings are related to the structure of the database. Without export or update they have no effect.

Editing attributes

  1. Select the attribute you want to edit.
  2. Make the changes and confirm by clicking Enter. The source code is automatically generated and edited.
  3. Click Save.

Deleting attributes

  1. Select the attribute that you want to delete.
  2. Click Delete.
  3. In the following dialog, confirm by clicking OK.
  4. Click Yes in the following dialog to delete the getters and setters of the attribute, too. By default, they will not be deleted.
  5. Click Save.