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