Enum SearchFieldType.SearchFieldTypeEnum
java.lang.Object
java.lang.Enum<SearchFieldType.SearchFieldTypeEnum>
com.commercetools.api.models.search.SearchFieldType.SearchFieldTypeEnum
- All Implemented Interfaces:
SearchFieldType
,JsonEnum
,Serializable
,Comparable<SearchFieldType.SearchFieldTypeEnum>
,java.lang.constant.Constable
- Enclosing interface:
- SearchFieldType
public static enum SearchFieldType.SearchFieldTypeEnum
extends Enum<SearchFieldType.SearchFieldTypeEnum>
implements SearchFieldType
possible values of SearchFieldType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.commercetools.api.models.search.SearchFieldType
SearchFieldType.SearchFieldTypeEnum
-
Enum Constant Summary
Enum ConstantDescriptionbooleandatedatetimeenumlenumltextmoneynumberreferenceset_booleanset_dateset_datetimeset_enumset_lenumset_ltextset_moneyset_numberset_referenceset_textset_timetexttime -
Field Summary
Fields inherited from interface com.commercetools.api.models.search.SearchFieldType
BOOLEAN, DATE, DATETIME, ENUM, LENUM, LTEXT, MONEY, NUMBER, REFERENCE, SET_BOOLEAN, SET_DATE, SET_DATETIME, SET_ENUM, SET_LENUM, SET_LTEXT, SET_MONEY, SET_NUMBER, SET_REFERENCE, SET_TEXT, SET_TIME, TEXT, TIME
-
Method Summary
Modifier and TypeMethodDescriptionthe JSON valuetoString()
convert value to stringReturns the enum constant of this type with the specified name.static SearchFieldType.SearchFieldTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface com.commercetools.api.models.search.SearchFieldType
name
-
Enum Constant Details
-
BOOLEAN
boolean -
TEXT
text -
LTEXT
ltext -
ENUM
enum -
LENUM
lenum -
NUMBER
number -
MONEY
money -
DATE
date -
DATETIME
datetime -
TIME
time -
REFERENCE
reference -
SET_BOOLEAN
set_boolean -
SET_TEXT
set_text -
SET_LTEXT
set_ltext -
SET_ENUM
set_enum -
SET_LENUM
set_lenum -
SET_NUMBER
set_number -
SET_MONEY
set_money -
SET_DATE
set_date -
SET_DATETIME
set_datetime -
SET_TIME
set_time -
SET_REFERENCE
set_reference
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getJsonName
Description copied from interface:SearchFieldType
the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Specified by:
getJsonName
in interfaceSearchFieldType
- Returns:
- json value
-
toString
Description copied from interface:SearchFieldType
convert value to string- Specified by:
toString
in interfaceJsonEnum
- Specified by:
toString
in interfaceSearchFieldType
- Overrides:
toString
in classEnum<SearchFieldType.SearchFieldTypeEnum>
- Returns:
- string representation
-