Enum SearchType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SearchType>

    public enum SearchType
    extends java.lang.Enum<SearchType>
    • Enum Constant Detail

      • SEARCH_BY_SKU

        public static final SearchType SEARCH_BY_SKU
      • SEARCH_BY_TERM_AND_PRODUCT

        public static final SearchType SEARCH_BY_TERM_AND_PRODUCT
      • SEARCH_BY_TERM

        public static final SearchType SEARCH_BY_TERM
      • SEARCH_BY_TYPE

        public static final SearchType SEARCH_BY_TYPE
      • SEARCH_BY_TYPE_AND_SKU

        public static final SearchType SEARCH_BY_TYPE_AND_SKU
      • SEARCH_BY_SELLER

        public static final SearchType SEARCH_BY_SELLER
    • Constructor Detail

      • SearchType

        private SearchType()
    • Method Detail

      • values

        public static SearchType[] 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 (SearchType c : SearchType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null