Class EmptyValueFacet

  • All Implemented Interfaces:
    Facet

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

      • EmptyValueFacet

        public EmptyValueFacet()
    • 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 facet name
      • setName

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