Class SearchFacetRangeImpl
java.lang.Object
org.broadleafcommerce.core.search.domain.SearchFacetRangeImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<SearchFacetRange>,SearchFacetRange
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected BigDecimalprotected BigDecimalprotected SearchFacet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends SearchFacetRange>
CreateResponse<G>booleangetId()Returns the internal idGets the maximum value for this SearchFacetRangeGets the minimum value for this SearchFacetRangeGets the associated SearchFacet to this rangeinthashCode()voidSets the internal idvoidsetMaxValue(BigDecimal maxValue) Sets the maximum value for this SearchFacetRangevoidsetMinValue(BigDecimal minValue) Sets the minium value for this SearchFacetRangevoidsetSearchFacet(SearchFacet searchFacet) Sets the associated SearchFacet
-
Field Details
-
id
-
searchFacet
-
minValue
-
maxValue
-
-
Constructor Details
-
SearchFacetRangeImpl
public SearchFacetRangeImpl()
-
-
Method Details
-
getId
Description copied from interface:SearchFacetRangeReturns the internal id- Specified by:
getIdin interfaceSearchFacetRange- Returns:
- the internal id
-
setId
Description copied from interface:SearchFacetRangeSets the internal id- Specified by:
setIdin interfaceSearchFacetRange
-
getSearchFacet
Description copied from interface:SearchFacetRangeGets the associated SearchFacet to this range- Specified by:
getSearchFacetin interfaceSearchFacetRange- Returns:
- the associated SearchFacet
-
setSearchFacet
Description copied from interface:SearchFacetRangeSets the associated SearchFacet- Specified by:
setSearchFacetin interfaceSearchFacetRange
-
getMinValue
Description copied from interface:SearchFacetRangeGets the minimum value for this SearchFacetRangeNote: The default SearchFacetRangeImpl does not allow this value to be null
- Specified by:
getMinValuein interfaceSearchFacetRange- Returns:
- the min value
-
setMinValue
Description copied from interface:SearchFacetRangeSets the minium value for this SearchFacetRange- Specified by:
setMinValuein interfaceSearchFacetRange
-
getMaxValue
Description copied from interface:SearchFacetRangeGets the maximum value for this SearchFacetRangeNote: The default SearchFacetRangeImpl allows this value to be null
- Specified by:
getMaxValuein interfaceSearchFacetRange- Returns:
- the max value
-
setMaxValue
Description copied from interface:SearchFacetRangeSets the maximum value for this SearchFacetRange- Specified by:
setMaxValuein interfaceSearchFacetRange
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends SearchFacetRange> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<SearchFacetRange>- Throws:
CloneNotSupportedException
-