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
  • Field Summary

    Fields 
    Modifier and Type Fields Description
    static String DEFAULT_NAME  
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    Class<? extends AttributeFilterProvider> value
    The filter class that should be used for filtering.
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String name
    Returns the name of the filter.
  • 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:
      ""