Interface SearchFieldType
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
SearchFieldType.SearchFieldTypeEnum
Possible values for the fieldType
property on query expressions indicating the data type of the field
.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of SearchFieldType -
Field Summary
Modifier and TypeFieldDescriptionstatic final SearchFieldType
For Boolean fields, AttributeBooleanType Attributes, and BooleanType Custom Fields.static final SearchFieldType
For Date fields, AttributeDateType Attributes, and DateType Custom Fields.static final SearchFieldType
For DateTime fields, AttributeDateTimeType Attributes, and DateTimeType Custom Fields.static final SearchFieldType
For enum fields, AttributeEnumType Attributes, and EnumType Custom Fields.static final SearchFieldType
For localized enum fields, AttributeLocalizedEnumType Attributes, and LocalizedEnumType Custom Fields.static final SearchFieldType
For LocalizedString fields, AttributeLocalizableTextType Attributes, and LocalizedStringType Custom Fields.static final SearchFieldType
For Money fields and AttributeMoneyType Attributes.static final SearchFieldType
For number fields, AttributeNumberType Attributes, and NumberType Custom Fields.static final SearchFieldType
For Reference fields and AttributeReferenceType Attributes.static final SearchFieldType
For Set of Boolean fields, AttributeSetType ofboolean
Attributes, and SetType ofboolean
Custom Fields.static final SearchFieldType
For Set of Date fields, AttributeSetType ofdate
Attributes, and SetType ofdate
Custom Fields.static final SearchFieldType
For Set of DateTime fields, AttributeSetType ofdatetime
Attributes, and SetType ofdatetime
Custom Fields.static final SearchFieldType
For Set of enum fields, AttributeSetType ofenum
Attributes, and SetType ofenum
Custom Fields.static final SearchFieldType
For Set of localized enum fields, AttributeSetType oflenum
Attributes, and SetType oflenum
Custom Fields.static final SearchFieldType
For Set of LocalizedString fields, AttributeSetType ofltext
Attributes, and SetType ofltext
Custom Fields.static final SearchFieldType
For Set of Money fields and AttributeSetType ofmoney
Attributes.static final SearchFieldType
For Set of number fields, AttributeSetType ofnumber
Attributes, and SetType ofnumber
Custom Fields.static final SearchFieldType
For Set of Reference fields and AttributeSetType ofreference
Attributes.static final SearchFieldType
For Set of string fields, AttributeSetType oftext
Attributes, and SetType oftext
Custom Fields.static final SearchFieldType
For Set of Time fields, AttributeSetType oftime
Attributes, and SetType oftime
Custom Fields.static final SearchFieldType
For string fields, AttributeTextType Attributes, and StringType Custom Fields.static final SearchFieldType
For Time fields, AttributeTimeType Attributes, and TimeType Custom Fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchFieldType
factory method for a enum value of SearchFieldType if no enum has been found an anonymous instance will be createdstatic Optional<SearchFieldType>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic SearchFieldType[]
values()
possible enum values
-
Field Details
-
BOOLEAN
For Boolean fields, AttributeBooleanType Attributes, and BooleanType Custom Fields.
-
TEXT
For string fields, AttributeTextType Attributes, and StringType Custom Fields.
-
LTEXT
For LocalizedString fields, AttributeLocalizableTextType Attributes, and LocalizedStringType Custom Fields.
-
ENUM
For enum fields, AttributeEnumType Attributes, and EnumType Custom Fields.
-
LENUM
For localized enum fields, AttributeLocalizedEnumType Attributes, and LocalizedEnumType Custom Fields.
-
NUMBER
For number fields, AttributeNumberType Attributes, and NumberType Custom Fields.
-
MONEY
For Money fields and AttributeMoneyType Attributes.
-
DATE
For Date fields, AttributeDateType Attributes, and DateType Custom Fields.
-
DATETIME
For DateTime fields, AttributeDateTimeType Attributes, and DateTimeType Custom Fields.
-
TIME
For Time fields, AttributeTimeType Attributes, and TimeType Custom Fields.
-
REFERENCE
For Reference fields and AttributeReferenceType Attributes.
-
SET_BOOLEAN
For Set of Boolean fields, AttributeSetType of
boolean
Attributes, and SetType ofboolean
Custom Fields. -
SET_TEXT
For Set of string fields, AttributeSetType of
text
Attributes, and SetType oftext
Custom Fields. -
SET_LTEXT
For Set of LocalizedString fields, AttributeSetType of
ltext
Attributes, and SetType ofltext
Custom Fields. -
SET_ENUM
For Set of enum fields, AttributeSetType of
enum
Attributes, and SetType ofenum
Custom Fields. -
SET_LENUM
For Set of localized enum fields, AttributeSetType of
lenum
Attributes, and SetType oflenum
Custom Fields. -
SET_NUMBER
For Set of number fields, AttributeSetType of
number
Attributes, and SetType ofnumber
Custom Fields. -
SET_MONEY
For Set of Money fields and AttributeSetType of
money
Attributes. -
SET_DATE
For Set of Date fields, AttributeSetType of
date
Attributes, and SetType ofdate
Custom Fields. -
SET_DATETIME
For Set of DateTime fields, AttributeSetType of
datetime
Attributes, and SetType ofdatetime
Custom Fields. -
SET_TIME
For Set of Time fields, AttributeSetType of
time
Attributes, and SetType oftime
Custom Fields. -
SET_REFERENCE
For Set of Reference fields and AttributeSetType of
reference
Attributes.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of SearchFieldType if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-