org.broadleafcommerce.core.search.domain
Class SearchFacetRangeImpl

java.lang.Object
  extended by org.broadleafcommerce.core.search.domain.SearchFacetRangeImpl
All Implemented Interfaces:
Serializable, SearchFacetRange

@Entity
public class SearchFacetRangeImpl
extends Object
implements SearchFacetRange, Serializable

See Also:
Serialized Form

Field Summary
protected  Long id
           
protected  BigDecimal maxValue
           
protected  BigDecimal minValue
           
protected  SearchFacet searchFacet
           
 
Constructor Summary
SearchFacetRangeImpl()
           
 
Method Summary
 Long getId()
          Returns the internal id
 BigDecimal getMaxValue()
          Gets the maximum value for this SearchFacetRange Note: The default SearchFacetRangeImpl allows this value to be null
 BigDecimal getMinValue()
          Gets the minimum value for this SearchFacetRange Note: The default SearchFacetRangeImpl does not allow this value to be null
 SearchFacet getSearchFacet()
          Gets the associated SearchFacet to this range
 void setId(Long id)
          Sets the internal id
 void setMaxValue(BigDecimal maxValue)
          Sets the maximum value for this SearchFacetRange
 void setMinValue(BigDecimal minValue)
          Sets the minium value for this SearchFacetRange
 void setSearchFacet(SearchFacet searchFacet)
          Sets the associated SearchFacet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

searchFacet

protected SearchFacet searchFacet

minValue

protected BigDecimal minValue

maxValue

protected BigDecimal maxValue
Constructor Detail

SearchFacetRangeImpl

public SearchFacetRangeImpl()
Method Detail

getId

public Long getId()
Description copied from interface: SearchFacetRange
Returns the internal id

Specified by:
getId in interface SearchFacetRange
Returns:
the internal id

setId

public void setId(Long id)
Description copied from interface: SearchFacetRange
Sets the internal id

Specified by:
setId in interface SearchFacetRange

getSearchFacet

public SearchFacet getSearchFacet()
Description copied from interface: SearchFacetRange
Gets the associated SearchFacet to this range

Specified by:
getSearchFacet in interface SearchFacetRange
Returns:
the associated SearchFacet

setSearchFacet

public void setSearchFacet(SearchFacet searchFacet)
Description copied from interface: SearchFacetRange
Sets the associated SearchFacet

Specified by:
setSearchFacet in interface SearchFacetRange

getMinValue

public BigDecimal getMinValue()
Description copied from interface: SearchFacetRange
Gets the minimum value for this SearchFacetRange Note: The default SearchFacetRangeImpl does not allow this value to be null

Specified by:
getMinValue in interface SearchFacetRange
Returns:
the min value

setMinValue

public void setMinValue(BigDecimal minValue)
Description copied from interface: SearchFacetRange
Sets the minium value for this SearchFacetRange

Specified by:
setMinValue in interface SearchFacetRange

getMaxValue

public BigDecimal getMaxValue()
Description copied from interface: SearchFacetRange
Gets the maximum value for this SearchFacetRange Note: The default SearchFacetRangeImpl allows this value to be null

Specified by:
getMaxValue in interface SearchFacetRange
Returns:
the max value

setMaxValue

public void setMaxValue(BigDecimal maxValue)
Description copied from interface: SearchFacetRange
Sets the maximum value for this SearchFacetRange

Specified by:
setMaxValue in interface SearchFacetRange


Copyright © 2013. All Rights Reserved.