Enum WordingSearchCriterionDefinition.WordingType
- java.lang.Object
-
- java.lang.Enum<WordingSearchCriterionDefinition.WordingType>
-
- org.ametys.web.frontoffice.search.metamodel.impl.WordingSearchCriterionDefinition.WordingType
-
- All Implemented Interfaces:
Serializable
,Comparable<WordingSearchCriterionDefinition.WordingType>
- Enclosing class:
- WordingSearchCriterionDefinition
public static enum WordingSearchCriterionDefinition.WordingType extends Enum<WordingSearchCriterionDefinition.WordingType>
The type ofWordingSearchCriterionDefinition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_WORDS
A wording criterion for filtering documents including all the given user words (separated by whitespaces)NO_WORDS
A wording criterion for filtering documents not including any of the given user words (separated by whitespaces)TEXTFIELD
A normal wording criterion, the given user input will be trimmed and sent as is to Solr
-
Constructor Summary
Constructors Modifier Constructor Description private
WordingType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WordingSearchCriterionDefinition.WordingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WordingSearchCriterionDefinition.WordingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXTFIELD
public static final WordingSearchCriterionDefinition.WordingType TEXTFIELD
A normal wording criterion, the given user input will be trimmed and sent as is to Solr
-
ALL_WORDS
public static final WordingSearchCriterionDefinition.WordingType ALL_WORDS
A wording criterion for filtering documents including all the given user words (separated by whitespaces)
-
NO_WORDS
public static final WordingSearchCriterionDefinition.WordingType NO_WORDS
A wording criterion for filtering documents not including any of the given user words (separated by whitespaces)
-
-
Constructor Detail
-
WordingType
private WordingType()
-
-
Method Detail
-
values
public static WordingSearchCriterionDefinition.WordingType[] 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 (WordingSearchCriterionDefinition.WordingType c : WordingSearchCriterionDefinition.WordingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WordingSearchCriterionDefinition.WordingType 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 nameNullPointerException
- if the argument is null
-
-