Class NumberValueFacet

  • All Implemented Interfaces:
    Facet

    public class NumberValueFacet
    extends Object
    implements Facet
    Represents a number range facet
    • Constructor Detail

      • NumberValueFacet

        public NumberValueFacet()
    • 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 NumberValueFacet setData​(List<NumberValue> data)
        The list of facet values for this facet
        Parameters:
        data - the facet values
        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 number values for this facet
      • setName

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