Package com.blazebit.persistence.view
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 ElementsModifier and TypeRequired ElementDescriptionClass<? extends AttributeFilterProvider>
The filter class that should be used for filtering. -
Optional Element Summary
Optional Elements -
Field Summary
Fields
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Element Details
-
value
Class<? extends AttributeFilterProvider> valueThe filter class that should be used for filtering.- Returns:
- The filter class
-
-
-
name
String nameReturns the name of the filter. There may be one default element which defaults to the attribute name.- Returns:
- The name of the filter
- Default:
- ""
-