Interface SearchFieldType
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
SearchFieldType.SearchFieldTypeEnum
Possible values for the fieldType property on simple expressions indicating the data type of the field.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumpossible values of SearchFieldType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SearchFieldTypeFor Boolean fields, AttributeBooleanType Attributes, and BooleanType Custom Fields.static final SearchFieldTypestatic final SearchFieldTypestatic final SearchFieldTypeFor enum fields, AttributeEnumType Attributes, and EnumType Custom Fields.static final SearchFieldTypeFor localized enum fields, AttributeLocalizedEnumType Attributes, and LocalizedEnumType Custom Fields.static final SearchFieldTypeFor LocalizedString fields, AttributeLocalizableTextType Attributes, and LocalizedStringType Custom Fields.static final SearchFieldTypeFor Money fields and AttributeMoneyType Attributes.static final SearchFieldTypeFor number fields, AttributeNumberType Attributes, and NumberType Custom Fields.static final SearchFieldTypeFor Reference fields and AttributeReferenceType Attributes.static final SearchFieldTypeFor Set of Boolean fields, AttributeSetType ofbooleanAttributes, and SetType ofbooleanCustom Fields.static final SearchFieldTypestatic final SearchFieldTypeFor Set of DateTime fields, AttributeSetType ofdatetimeAttributes, and SetType ofdatetimeCustom Fields.static final SearchFieldTypestatic final SearchFieldTypeFor Set of localized enum fields, AttributeSetType oflenumAttributes, and SetType oflenumCustom Fields.static final SearchFieldTypeFor Set of LocalizedString fields, AttributeSetType ofltextAttributes, and SetType ofltextCustom Fields.static final SearchFieldTypestatic final SearchFieldTypeFor Set of number fields, AttributeSetType ofnumberAttributes, and SetType ofnumberCustom Fields.static final SearchFieldTypestatic final SearchFieldTypestatic final SearchFieldTypestatic final SearchFieldTypeFor string fields, AttributeTextType Attributes, and StringType Custom Fields.static final SearchFieldType -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchFieldTypefactory 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
booleanAttributes, and SetType ofbooleanCustom Fields. -
SET_TEXT
For Set of string fields, AttributeSetType of
textAttributes, and SetType oftextCustom Fields. -
SET_LTEXT
For Set of LocalizedString fields, AttributeSetType of
ltextAttributes, and SetType ofltextCustom Fields. -
SET_ENUM
For Set of enum fields, AttributeSetType of
enumAttributes, and SetType ofenumCustom Fields. -
SET_LENUM
For Set of localized enum fields, AttributeSetType of
lenumAttributes, and SetType oflenumCustom Fields. -
SET_NUMBER
For Set of number fields, AttributeSetType of
numberAttributes, and SetType ofnumberCustom Fields. -
SET_MONEY
For Set of Money fields and AttributeSetType of
moneyAttributes. -
SET_DATE
For Set of Date fields, AttributeSetType of
dateAttributes, and SetType ofdateCustom Fields. -
SET_DATETIME
For Set of DateTime fields, AttributeSetType of
datetimeAttributes, and SetType ofdatetimeCustom Fields. -
SET_TIME
For Set of Time fields, AttributeSetType of
timeAttributes, and SetType oftimeCustom Fields. -
SET_REFERENCE
For Set of Reference fields and AttributeSetType of
referenceAttributes.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonNamein 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
-