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 with Id
    Developer note.
    This is an experimental item. Its function and presence are subject to change. Feedback on features and usability extremely welcome.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Element Detail

      • value

        String value
        Returns:
        the name of the field to use as the ID field