Package dev.morphia.annotations
Annotation Type Entity
-
@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface Entity
Allows marking and naming the collectionName- Author:
- Olafur Gauti Gudmundsson, Scott Hernandez
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CappedAt
cap
java.lang.String
concern
boolean
noClassnameStored
Deprecated.to be replaced in 2.0 where the default will be to store the discriminatorboolean
queryNonPrimary
Deprecated.no replacement is plannedjava.lang.String
value
-
-
-
Element Detail
-
cap
CappedAt cap
- Returns:
- The capped collection configuration options
- Default:
- @dev.morphia.annotations.CappedAt(0L)
-
-