An attribute describes a characteristics of an entity. There can be many attributes for a single entity.
For example, an "Invoice" entity might have attributes such as "Number", "Payment Date" or "Amount".
This is used to identify the attribute within the entity that it is associated with. A good attribute name is one that makes a connection with the real world entity characteristic that it represents.
The Java type for an attribute specifies what type should be used to represent the attribute in the generated application.
The following Java types are available:
![]() |
java.lang.Boolean |
![]() |
java.lang.Byte |
![]() |
java.lang.Double |
![]() |
java.lang.Float |
![]() |
java.lang.Integer |
![]() |
java.lang.Long |
![]() |
java.lang.Short |
![]() |
java.lang.String |
![]() |
java.math.BigDecimal |
![]() |
java.sql.Date |
![]() |
java.sql.Time |
![]() |
java.sql.Timestamp |
This only applies to attributes of type java.lang.String
.
It specifies the maximum size of the string used to store a
description of the attribute characteristic.
This indicates whether data is required for the attribute.