Class DateValueFacet

  • All Implemented Interfaces:
    Facet

    public class DateValueFacet
    extends Object
    implements Facet
    Represents a date value facet
    • Constructor Detail

      • DateValueFacet

        public DateValueFacet()
    • 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 DateValueFacet setData​(List<DateValue> dateValues)
        Set the DateValueFacets for this facet
        Parameters:
        dateValues - The date values that represent the values of this facet
        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 DateValueFacet values that represent this facet
        Specified by:
        getData in interface Facet
        Returns:
        a list of DateValueFacets
      • setName

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