Package dev.morphia.annotations
Annotation Type IdField
-
@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) @MorphiaExperimental public @interface IdField
Denotes the ID field on an entity. This field is typically on a parent type outside the current source base and can't be directly annotated withId
Developer note.This is an experimental item. Its function and presence are subject to change. Feedback on features and usability extremely welcome.
-
-
Element Detail
-
value
String value
- Returns:
- the name of the field to use as the ID field
-
-