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 class
FieldDataFormat.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ISO_DATE
Field value is parsed as ISO 8601 date in format YYYY-MM-DD.
ISO_COUNTRY_ALPHA_2
Field value is parsed as ISO 3166-1 alpha-2 country code. E.g. "DE" for Germany.
ISO_COUNTRY_ALPHA_3
Field value is parsed as ISO 3166-1 alpha-3 country code. E.g. "DEU" for Germany.
ISO_COUNTRY_NUMERIC
Field value is parsed as ISO 3166-1 numeric country code. E.g. "276" for Germany.
ISO_COUNTRY_NAME
Field value is parsed as ISO 3166-1 country name. E.g. "Germany".
GENDER
Field value is parsed as "Male", "Female".
-
Method Summary
Modifier and Type Method Description final String
toJson()
final FieldDataFormat
valueOf(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.
-
-