Adding attributes to an entity

To add attributes to an entity, take the following steps:

Procedure

  1. Right-click the Entity node and click New > Attribute
  2. Add the following properties to the attribute, as required:
    • Name: The name of the attribute.
    • Documentation: An optional description of the attribute.
    • Documentation URL: An optional URL that links to documentation for the attribute.
    • Nullable: Whether the attribute database column can contain NULL as a value.
    • Type: The attribute type: String, Long, TimeStamp, BigDecimal, Short, Float, Date, Boolean, Integer, or Double.
    • String length: The length of a String attribute. This field does not appear if the attribute type is not String.
    • Nullable: Whether the attribute is nullable.
    • Persistent: Whether the attribute is a persistent attribute.
    • Entity field name: The name of the field in the entity object class.
    • Database field name: The name of the database column corresponding to this attribute.
    • Primary key: Whether this attribute is a primary key.