| Enum | Description |
|---|---|
| Entity.ValidationAction | |
| Entity.ValidationLevel | |
| ReadPreferenceLevel |
User: Stephan Bösebeck
Date: 30.08.12
Time: 13:54
Define the read preference level for this type.
|
| SafetyLevel |
User: Stephan Bösebeck
Date: 26.05.12
Time: 16:35
Define the type of Write safety.
|
| Annotation Type | Description |
|---|---|
| AdditionalData |
User: Stephan Bösebeck
Date: 22.08.12
Time: 15:45
Store all data found to this field.
|
| Aliases |
User: Stephan Bösebeck
Date: 07.05.12
Time: 17:52
Define aliases for a field.
|
| Capped |
Created by stephan on 09.07.14.
|
| Collation | |
| CreationTime |
User: Stephan Bösebeck
Date: 29.05.12
Time: 15:30
define the field to store the creation timestamp.
|
| DefaultReadPreference |
User: Stephan Bösebeck
Date: 10.08.12
Time: 12:55
Set the default read preference level for this type.
|
| Embedded |
User: Stephan Bösebeck
Date: 28.05.12
Time: 16:43
Mark an object to be used only embedded in an other object.
|
| Entity |
User: Stpehan Bösebeck
Date: 26.03.12
Time: 11:14
|
| Id |
User: Stpehan Bösebeck
Date: 26.03.12
Time: 13:11
Specify the ID fiel - needs to be of type Object. is mandatory!
|
| IgnoreFields |
List of fields in class, that can be ignored.
|
| Index |
User: Stephan Bösebeck
Date: 20.06.12
Time: 10:16
define the indices to be ensured when the corresponding collection is created
when morphium.ensureIndicesFor
can be used with a field like:
|
| LastAccess |
User: Stephan Bösebeck
Date: 29.05.12
Time: 15:32
Tell the type to store the last access.
|
| LastChange |
User: Stephan Bösebeck
Date: 29.05.12
Time: 15:31
tell Morphium to store the timestamp of the last change. put this annotation both to the type and the field to store
the last access timestamp.
|
| LimitToFields |
limit to a list of fields, or all fields of a given type
sould avoid problems with anonymous sub classes or proxy implementations for example
limittofields will not work for fields marked with @Property and a specified fieldname
Attention: when limiting to a type, this will include all fields defined in that class, NOT honoring
fields that might be ignored by
it will be inherited by subclasses, so in subclasses you will need to add all fields manually, use the type
or an empty version.
|
| Property |
User: Stpehan Bösebeck
Date: 26.03.12
Time: 11:14
Define this field to be a Property.
|
| ReadOnly |
mark a property as read only - will only be read from Mongo, but never stored
|
| Reference |
User: Stpehan Bösebeck
Date: 26.03.12
Time: 11:18
Mark this field as a reference to annother mongo object
In mongo only the id will be stored here
if
automaticStore is true (default), objects will be stored if not already done |
| Transient | |
| UseIfnull |
Mark this field to be used in marshalling, even if it's values are NULL!
|
| Version |
used to mark a field for versioning
see Entity-Annotation
|
| WriteSafety |
User: Stephan Bösebeck
Date: 26.05.12
Time: 16:31
See WriteConcern in MongoDB Java-Driver... for additional information
WaitForSync: wait for the write to be synced to disk timeout: set a timeout in ms for the operation - if set to 0, unlimited (default). |
Copyright © 2022. All rights reserved.