Interface FilterMapping<T>
- Type Parameters:
T
- The base filter type which is either AttributeFilterProvider or ViewFilterProvider.
- All Known Subinterfaces:
AttributeFilterMapping<X,FilterValue>
,ViewFilterMapping
public interface FilterMapping<T>
Represents the mapping of a named filter.
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description Class<? extends T>
getFilterClass()
Returns the filter class.String
getName()
Returns the name of the filter.boolean
isViewFilter()
Returns true if this is aViewFilterMapping
, false if this is aAttributeFilterMapping
.
-
Method Details
-
getName
String getName()Returns the name of the filter.- Returns:
- The name of the filter
-
isViewFilter
boolean isViewFilter()Returns true if this is aViewFilterMapping
, false if this is aAttributeFilterMapping
.- Returns:
- True if this is a
ViewFilterMapping
, false if this is aAttributeFilterMapping
-
getFilterClass
Returns the filter class.- Returns:
- The filter class
-