Enum FacetSelectionType

    • Enum Constant Detail

      • SINGLE_AND_UNSELECT_OTHER_FACETS

        public static final FacetSelectionType SINGLE_AND_UNSELECT_OTHER_FACETS
        Unselects other facets when selected, useful for tab type facets.
      • SINGLE

        public static final FacetSelectionType SINGLE
        When a category value is selected other category values of equal or lower depth are unselected.
      • MULTIPLE

        public static final FacetSelectionType MULTIPLE
        When a category value is selected other category values are left selected.
    • Constructor Detail

      • FacetSelectionType

        private FacetSelectionType()
    • Method Detail

      • values

        public static FacetSelectionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FacetSelectionType c : FacetSelectionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FacetSelectionType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null