# Package com.sleepycat.persist.model

Annotations for defining a persistent object model.

See: Description

Interface Summary
Interface | Description
--- | ---
PersistentProxy<T> | Implemented by a proxy class to represent the persistent state of a (non-persistent) proxied class.

Class Summary
Class | Description
--- | ---
AnnotationModel | The default annotation-based entity model.
ClassEnhancer | Enhances the bytecode of persistent classes to provide efficient access to fields and constructors, and to avoid special security policy settings for accessing non-public members.
ClassMetadata | The metadata for a persistent class.
EntityMetadata | The metadata for a persistent entity class.
EntityModel | The base class for classes that provide entity model metadata.
FieldMetadata | The metadata for a key field.
ModelInternal | Internal access class that should not be used by applications.
PrimaryKeyMetadata | The metadata for a primary key field.
SecondaryKeyMetadata | The metadata for a secondary key field.

Enum Summary
Enum | Description
--- | ---
DeleteAction | Specifies the action to take when a related entity is deleted having a primary key value that exists as a secondary key value for this entity.
Relationship | Defines the relationship between instances of the entity class and the secondary keys.

Annotation Types Summary
Annotation Type | Description
--- | ---
Entity | Indicates a persistent entity class.
KeyField | Indicates the sorting position of a key field in a composite key class when the `Comparable` interface is not implemented.
NotPersistent | Overrides the default rules for field persistence and defines a field as being non-persistent even when it is not declared with the `transient` keyword.
NotTransient | Overrides the default rules for field persistence and defines a field as being persistent even when it is declared with the `transient` keyword.
Persistent | Identifies a persistent class that is not an `Entity` class or a simple type.
PrimaryKey | Indicates the primary key field of an entity class.
SecondaryKey | Indicates a secondary key field of an entity class.

## Package com.sleepycat.persist.model Description

Annotations for defining a persistent object model.