Package org.intermine.api.searchengine
Enum KeywordSearchFacetType
- java.lang.Object
-
- java.lang.Enum<KeywordSearchFacetType>
-
- org.intermine.api.searchengine.KeywordSearchFacetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KeywordSearchFacetType>
public enum KeywordSearchFacetType extends java.lang.Enum<KeywordSearchFacetType>
type of faceting to use see http://snaprojects.jira.com/wiki/display/BOBO/Create+a+Browse+Index- Author:
- nils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeywordSearchFacetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KeywordSearchFacetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final KeywordSearchFacetType SINGLE
single value per document
-
MULTI
public static final KeywordSearchFacetType MULTI
multiple values per document
-
PATH
public static final KeywordSearchFacetType PATH
path (takes array of field names, converts them to A/B/C format expected by bobo)
-
-
Method Detail
-
values
public static KeywordSearchFacetType[] 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 (KeywordSearchFacetType c : KeywordSearchFacetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeywordSearchFacetType 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 namejava.lang.NullPointerException
- if the argument is null
-
-