Class ReflectionIntrospectionConfiguration.Description.Indexed

java.lang.Object
io.micronaut.reflection.ReflectionIntrospectionConfiguration.Description.Indexed
Enclosing class:
ReflectionIntrospectionConfiguration.Description

@Internal @EachProperty(value="indexed", list=true) public static final class ReflectionIntrospectionConfiguration.Description.Indexed extends Object
An annotation the properties carrying it are indexed by.
Since:
5.2.0
Author:
Denis Stepanov
  • Constructor Details

    • Indexed

      public Indexed()
      Creates the entry; it is instantiated by the context.
  • Method Details

    • getAnnotation

      public @Nullable String getAnnotation()
      The name of the annotation.
      Returns:
      The name of the annotation
    • setAnnotation

      public void setAnnotation(@Nullable String annotation)
      The name of the annotation to index the properties by.
      Parameters:
      annotation - The annotation name
    • getMember

      public @Nullable String getMember()
      The name of the member.
      Returns:
      The name of the member
    • setMember

      public void setMember(@Nullable String member)
      The name of the member whose value BeanIntrospection.getIndexedProperty(Class, String) looks a property up by; without it the annotation is indexed by itself alone.
      Parameters:
      member - The member name