Annotation Type AttributeFilter


@Target(METHOD) @Retention(RUNTIME) @Repeatable(AttributeFilters.class) public @interface AttributeFilter
Adds a named filter to an entity view attribute.
Since:
1.0.0
Author:
Christian Beikov
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The filter class that should be used for filtering.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the name of the filter.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • name

      String name
      Returns the name of the filter. There may be one default element which defaults to the attribute name.
      Returns:
      The name of the filter
      Default:
      ""