The default annotation-based entity model. An AnnotationModel
is based on annotations that are specified for entity classes and their key
fields.
AnnotationModel objects are thread-safe. Multiple threads may
safely call the methods of a shared
AnnotationModel object.
The set of persistent classes in the annotation model is the set of all
classes with the
Persistent or
Entity annotation.
The annotations used to define persistent classes are:
Entity ,
Persistent ,
PrimaryKey ,
SecondaryKey and
KeyField . A good starting point is
Entity .
author: Mark Hayes |