Class Filter
java.lang.Object
com.broadleafcommerce.search.api.domain.Filter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleangetName()The name of the property to filter on, e.g.The ranged values of this filter.The values of the filter.inthashCode()booleanDetermines whether or not this is a ranged query.voidThe name of the property to filter on, e.g.voidsetRanges(List<FilterRangeValue> ranges) The ranged values of this filter.voidThe values of the filter.toString()
- 
Constructor Details- 
Filterpublic Filter()
 
- 
- 
Method Details- 
isRangedFilterpublic boolean isRangedFilter()Determines whether or not this is a ranged query.- Returns:
- true if a ranged filter, else false.
 
- 
getNameThe name of the property to filter on, e.g. "color","price", etc.- Returns:
- name of the property to filter on
 
- 
getValuesThe values of the filter. For example, if name is "color", this could be "red","black","blue"- Returns:
- values of the filter
 
- 
getRangesThe ranged values of this filter. This will contain pairs of minimum and maximum values to create ranges to filter on. Cannot be used in combination with filter values.- Returns:
- ranges of the filter
 
- 
setNameThe name of the property to filter on, e.g. "color","price", etc.- Parameters:
- name- name of the property to filter on
 
- 
setValuesThe values of the filter. For example, if name is "color", this could be "red","black","blue"- Parameters:
- values- values of the filter
 
- 
setRangesThe ranged values of this filter. This will contain pairs of minimum and maximum values to create ranges to filter on. Cannot be used in combination with filter values.- Parameters:
- ranges- ranges of the filter
 
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-