Class EntityType

Direct Known Subclasses:
ShallowReferenceType

public class EntityType extends ManagedType
Entity class in client's domain model.

Has a list of mutable properties and its own identity held in Id-property (or a list of Id-properties).

Two Entity instances are compared using Id-property, see InstanceId

Example:
     class Person {
        @Id
         private int    personId;
         private String firstName;
         private String lastName;
         ...
     }