Class NumberRangeFacet

  • All Implemented Interfaces:
    Facet

    public class NumberRangeFacet
    extends Object
    implements Facet
    Represents a numeric range facet
    • Constructor Detail

      • NumberRangeFacet

        public NumberRangeFacet()
    • Method Detail

      • getType

        public FacetType getType()
        Description copied from interface: Facet
        Type of facet
        Specified by:
        getType in interface Facet
        Returns:
        The facet type
      • setData

        public NumberRangeFacet setData​(List<NumberRange> data)
        Set the number range values on this facet
        Parameters:
        data - The list of number ranges
        Returns:
        this facet
      • getName

        public String getName()
        The facet name
        Specified by:
        getName in interface Facet
        Returns:
        the name of the facet
      • getData

        public List<FacetValue> getData()
        The facet values
        Specified by:
        getData in interface Facet
        Returns:
        the facet values
      • setName

        public NumberRangeFacet setName​(String name)
        The facet name
        Parameters:
        name - the name of the facet
        Returns:
        this.