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 and AttributeBooleanType Attributes.static final SearchFieldType
For Date fields and AttributeDateType Attributes.static final SearchFieldType
For DateTime fields and AttributeDateTimeType Attributes.static final SearchFieldType
For enum fields and AttributeEnumType Attributes.static final SearchFieldType
For localized enum fields and AttributeLocalizedEnumType Attributes.static final SearchFieldType
For LocalizedString fields and AttributeLocalizableTextType Attributes.static final SearchFieldType
For Money fields and AttributeMoneyType Attributes.static final SearchFieldType
For number fields and AttributeNumberType Attributes.static final SearchFieldType
For Reference fields and AttributeReferenceType Attributes.static final SearchFieldType
For Set of Boolean fields and AttributeSetType ofboolean
Attributes.static final SearchFieldType
For Set of Date fields and AttributeSetType ofdate
Attributes.static final SearchFieldType
For Set of DateTime fields and AttributeSetType ofdatetime
Attributes.static final SearchFieldType
For Set of enum fields and AttributeSetType ofenum
Attributes.static final SearchFieldType
For Set of localized enum fields and AttributeSetType oflenum
Attributes.static final SearchFieldType
For Set of LocalizedString fields and AttributeSetType ofltext
Attributes.static final SearchFieldType
For Set of Money fields and AttributeSetType ofmoney
Attributes.static final SearchFieldType
For Set of number fields and AttributeSetType ofnumber
Attributes.static final SearchFieldType
For Set of Reference fields and AttributeSetType ofreference
Attributes.static final SearchFieldType
For Set of string fields and AttributeSetType oftext
Attributes.static final SearchFieldType
For Set of Time fields and AttributeSetType oftime
Attributes.static final SearchFieldType
For string fields and AttributeTextType Attributes.static final SearchFieldType
For Time fields and AttributeTimeType Attributes. -
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 and AttributeBooleanType Attributes.
-
TEXT
For string fields and AttributeTextType Attributes.
-
LTEXT
For LocalizedString fields and AttributeLocalizableTextType Attributes.
-
ENUM
For enum fields and AttributeEnumType Attributes.
-
LENUM
For localized enum fields and AttributeLocalizedEnumType Attributes.
-
NUMBER
For number fields and AttributeNumberType Attributes.
-
MONEY
For Money fields and AttributeMoneyType Attributes.
-
DATE
For Date fields and AttributeDateType Attributes.
-
DATETIME
For DateTime fields and AttributeDateTimeType Attributes.
-
TIME
For Time fields and AttributeTimeType Attributes.
-
REFERENCE
For Reference fields and AttributeReferenceType Attributes.
-
SET_BOOLEAN
For Set of Boolean fields and AttributeSetType of
boolean
Attributes. -
SET_TEXT
For Set of string fields and AttributeSetType of
text
Attributes. -
SET_LTEXT
For Set of LocalizedString fields and AttributeSetType of
ltext
Attributes. -
SET_ENUM
For Set of enum fields and AttributeSetType of
enum
Attributes. -
SET_LENUM
For Set of localized enum fields and AttributeSetType of
lenum
Attributes. -
SET_NUMBER
For Set of number fields and AttributeSetType of
number
Attributes. -
SET_MONEY
For Set of Money fields and AttributeSetType of
money
Attributes. -
SET_DATE
For Set of Date fields and AttributeSetType of
date
Attributes. -
SET_DATETIME
For Set of DateTime fields and AttributeSetType of
datetime
Attributes. -
SET_TIME
For Set of Time fields and AttributeSetType of
time
Attributes. -
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
-