Class AttributeFilterMappingPath<X,FilterValue>
java.lang.Object
com.blazebit.persistence.view.metamodel.AttributeFilterMappingPath<X,FilterValue>
- Type Parameters:
X
- The type of the entity view that is the base of the pathFilterValue
- The filter value type
public final class AttributeFilterMappingPath<X,FilterValue> extends Object
A filter mapping for an attribute path.
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description AttributeFilterMappingPath(AttributePath<X,?,?> attributePath, AttributeFilterMapping<?,FilterValue> filter)
Creates a new attribute filter mapping path.AttributeFilterMappingPath(AttributePath<X,?,?> attributePath, String filterName)
Creates a new attribute filter mapping path. -
Method Summary
Modifier and Type Method Description AttributePath<X,?,?>
getAttributePath()
Returns the attribute path.AttributeFilterMapping<?,FilterValue>
getFilter()
Returns the filter mapping.String
getFilterName()
Returns the filter name.
-
Constructor Details
-
AttributeFilterMappingPath
public AttributeFilterMappingPath(AttributePath<X,?,?> attributePath, AttributeFilterMapping<?,FilterValue> filter)Creates a new attribute filter mapping path.- Parameters:
attributePath
- The attribute pathfilter
- The filter mapping
-
AttributeFilterMappingPath
Creates a new attribute filter mapping path.- Parameters:
attributePath
- The attribute pathfilterName
- The filter name
-
-
Method Details
-
getAttributePath
Returns the attribute path.- Returns:
- The attribute path
-
getFilter
Returns the filter mapping.- Returns:
- the filter mapping
-
getFilterName
Returns the filter name.- Returns:
- the filter name
-