Annotation Type IndexedEmbedded


@Retention(RUNTIME) @Target({FIELD,METHOD}) @Documented public @interface IndexedEmbedded
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Stop indexing embedded elements when depth is reached depth=1 means the associated element is index, but not its embedded elements Default: infinite (an exception will be raised if a class circular reference occurs while infinite is chosen)
    Field name prefix Default to 'propertyname.'
    Overrides the type of an association.
  • Element Details

    • prefix

      String prefix
      Field name prefix Default to 'propertyname.'
      Default:
      "."
    • depth

      int depth
      Stop indexing embedded elements when depth is reached depth=1 means the associated element is index, but not its embedded elements Default: infinite (an exception will be raised if a class circular reference occurs while infinite is chosen)
      Default:
      2147483647
    • targetElement

      Class<?> targetElement
      Overrides the type of an association. If a collection, overrides the type of the collection generics
      Default:
      void.class