Annotation Type Id


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Id
    Annotation to mark a field as the id field of a repository.
    Since:
    1.0
    Author:
    Anindya Chatterjee.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] embeddedFields
      The name of the embedded fields.
      String fieldName
      The custom name of the field.
    • Element Detail

      • fieldName

        String fieldName
        The custom name of the field.
        Returns:
        the string
        Default:
        ""
      • embeddedFields

        String[] embeddedFields
        The name of the embedded fields.
        Returns:
        the string
        Default:
        {}