| AlsoLoad |
Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
|
| CappedAt |
Properties for capped collections; used in Entity
|
| Collation |
Defines the collation options for an index
|
| Converters |
Deprecated, for removal: This API element is subject to removal in a future version. |
| Embedded |
Deprecated.
|
| Entity |
Marks a class as a Morphia entity indicating it should be mapped.
|
| EntityListeners |
Specifies other classes to participate in the @Entity's lifecycle
|
| ExternalEntity |
Marks a class as a "stand in" for an external class whose source can not be properly annotated.
|
| Field |
Define a field to be used in an index;
|
| Handler |
Defines a specific handler for a type above and beyond the codecs
|
| Id |
Denotes the ID field on an entity.
|
| IdField |
Denotes the ID field on an entity.
|
| IdGetter |
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
|
| Index |
Defines an index
|
| Indexed |
Specified on fields that should be Indexed.
|
| Indexes |
Defines indexes for this entity type (on the collection)
|
| IndexOptions |
Defines the options to be used when declaring an index.
|
| LoadOnly |
When placed on an entity field, the field will not be written to mongodb.
|
| Name |
Defines a name for a constructor parameter.
|
| NotSaved |
Deprecated, for removal: This API element is subject to removal in a future version.
|
| PossibleValues |
Denotes the possible values for a configuration option.
|
| PostLoad |
Called after the data has been loaded into the java object.
|
| PostPersist |
Called after the data has been persisted from the java object.
|
| PreLoad |
Called before the data has been loaded into the object.
|
| PrePersist |
Called before the data has been persisted to the datastore (before mapping is done).
|
| Property |
Optional annotation for specifying persistence behavior
|
| Reference |
|
| ShardKey |
Defines a shard key of a particular type
|
| ShardKeys |
Defines the properties used in the shard key.
|
| ShardOptions |
Specifies options to be applied when sharding.
|
| Text |
Marks this field for inclusion in text indexing.
|
| Transient |
|
| Validation |
Defines the document validation logic for a collection.
|
| Version |
supposed to be used on a Long or long field for optimistic locking.
|