Class TextValueFacet

  • All Implemented Interfaces:
    Facet

    public class TextValueFacet
    extends Object
    implements Facet
    Represents a text value facet
    • Constructor Detail

      • TextValueFacet

        public TextValueFacet()
    • Method Detail

      • getType

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

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

        public String getName()
        The facet name
        Specified by:
        getName in interface Facet
        Returns:
        the facet name
      • 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