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
      • setData

        public TextValueFacet setData​(List<TextValue> data)
        The facet values
        Parameters:
        data - The facet values
        Returns:
        this facet
      • 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 name of the facet
      • getData

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