Package co.mastermindcms.modules.enums
Enum SearchType
- java.lang.Object
- 
- java.lang.Enum<SearchType>
- 
- co.mastermindcms.modules.enums.SearchType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<SearchType>
 
 public enum SearchType extends java.lang.Enum<SearchType> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description SEARCH_BY_SELLERSEARCH_BY_SKUSEARCH_BY_TERMSEARCH_BY_TERM_AND_PRODUCTSEARCH_BY_TYPESEARCH_BY_TYPE_AND_SKU
 - 
Constructor SummaryConstructors Modifier Constructor Description privateSearchType()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SearchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SEARCH_BY_SKUpublic static final SearchType SEARCH_BY_SKU 
 - 
SEARCH_BY_TERM_AND_PRODUCTpublic static final SearchType SEARCH_BY_TERM_AND_PRODUCT 
 - 
SEARCH_BY_TERMpublic static final SearchType SEARCH_BY_TERM 
 - 
SEARCH_BY_TYPEpublic static final SearchType SEARCH_BY_TYPE 
 - 
SEARCH_BY_TYPE_AND_SKUpublic static final SearchType SEARCH_BY_TYPE_AND_SKU 
 - 
SEARCH_BY_SELLERpublic static final SearchType SEARCH_BY_SELLER 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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
 
 
- 
 
-