Enum FieldDataFormat
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum FieldDataFormat extends Enum<FieldDataFormat>
Type of parsing applied to field.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFieldDataFormat.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ISO_DATEField value is parsed as ISO 8601 date in format YYYY-MM-DD.
ISO_COUNTRY_ALPHA_2Field value is parsed as ISO 3166-1 alpha-2 country code. E.g. "DE" for Germany.
ISO_COUNTRY_ALPHA_3Field value is parsed as ISO 3166-1 alpha-3 country code. E.g. "DEU" for Germany.
ISO_COUNTRY_NUMERICField value is parsed as ISO 3166-1 numeric country code. E.g. "276" for Germany.
ISO_COUNTRY_NAMEField value is parsed as ISO 3166-1 country name. E.g. "Germany".
GENDERField value is parsed as "Male", "Female".
-
Method Summary
Modifier and Type Method Description final StringtoJson()final FieldDataFormatvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<FieldDataFormat>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final FieldDataFormat valueOf(String value)
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.)
-
values
final Array<FieldDataFormat> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-