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 path
FilterValue - 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 Details

    • AttributeFilterMappingPath

      public AttributeFilterMappingPath(AttributePath<X,?,?> attributePath, AttributeFilterMapping<?,FilterValue> filter)
      Creates a new attribute filter mapping path.
      Parameters:
      attributePath - The attribute path
      filter - The filter mapping
    • AttributeFilterMappingPath

      public AttributeFilterMappingPath(AttributePath<X,?,?> attributePath, String filterName)
      Creates a new attribute filter mapping path.
      Parameters:
      attributePath - The attribute path
      filterName - The filter name
  • Method Details

    • getAttributePath

      public AttributePath<X,?,?> getAttributePath()
      Returns the attribute path.
      Returns:
      The attribute path
    • getFilter

      public AttributeFilterMapping<?,FilterValue> getFilter()
      Returns the filter mapping.
      Returns:
      the filter mapping
    • getFilterName

      public String getFilterName()
      Returns the filter name.
      Returns:
      the filter name