Class EmptyRangeFacet

  • All Implemented Interfaces:
    Facet

    public class EmptyRangeFacet
    extends Object
    implements Facet
    Represents an empty range facet, this exists because we cannot tell the type of a facet with no ranges
    • Constructor Detail

      • EmptyRangeFacet

        public EmptyRangeFacet()
    • Method Detail

      • getType

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

        public List<FacetValue> getData()
        Description copied from interface: Facet
        The results of the facet
        Specified by:
        getData in interface Facet
        Returns:
        the results of the facet
      • getName

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

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