Package com.confidentify.client.model
Enum DatasetSchemaPropertyType
- java.lang.Object
-
- java.lang.Enum<DatasetSchemaPropertyType>
-
- com.confidentify.client.model.DatasetSchemaPropertyType
-
- All Implemented Interfaces:
Serializable,Comparable<DatasetSchemaPropertyType>
public enum DatasetSchemaPropertyType extends Enum<DatasetSchemaPropertyType>
Property types in a dataset schema: * `string` - A generic text string. * `number` - A generic number. * `array` - An array of items. The `items` property must also be provided. Multiple layers of arrays are not supported. * `person_name` - The name of a person. Values for this property type can either be provided as a string containing the full name, or can be provided as an object of the `PersonName_Base` type. * `job_title` - A job title. Values for this property must be provided as strings. * `organization_name` - The name of an organization. Values for this property must be provided as strings. * `email` - An email address. * `phone` - A phone number. * `country` - A country name or code. The 2-letter country code is preferred. * `birth_date` - A birth date, or alternatively just a birth year. Values for this property must be provided as strings, preferably in the `yyyy-MM-dd` date format (but other common date formats will be attempted too). * `national_id` - A national (or otherwise official) identification number. This could be used for instance of passport numbers or driver's license numbers. Values for this property can be provided as a string containing the full national ID, or as an object containing a `country` and a `id` property. * `gender` - The gender of a person. Values of this property can conform to any gender encoding topology that the client wishes to use (e.g. `M`, `F`, `T`, `U`). * `meta_external_id` - The record's ID in an external system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatasetSchemaPropertyType.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetSchemaPropertyTypefromValue(String value)StringgetValue()StringtoString()static DatasetSchemaPropertyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DatasetSchemaPropertyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final DatasetSchemaPropertyType STRING
-
NUMBER
public static final DatasetSchemaPropertyType NUMBER
-
DATETIME
public static final DatasetSchemaPropertyType DATETIME
-
ARRAY
public static final DatasetSchemaPropertyType ARRAY
-
PERSON_NAME
public static final DatasetSchemaPropertyType PERSON_NAME
-
PERSON_NAME_GIVEN
public static final DatasetSchemaPropertyType PERSON_NAME_GIVEN
-
PERSON_NAME_MIDDLE
public static final DatasetSchemaPropertyType PERSON_NAME_MIDDLE
-
PERSON_NAME_FAMILY
public static final DatasetSchemaPropertyType PERSON_NAME_FAMILY
-
PERSON_NAME_SUFFIX
public static final DatasetSchemaPropertyType PERSON_NAME_SUFFIX
-
ORGANIZATION_NAME
public static final DatasetSchemaPropertyType ORGANIZATION_NAME
-
EMAIL
public static final DatasetSchemaPropertyType EMAIL
-
PHONE
public static final DatasetSchemaPropertyType PHONE
-
JOB_TITLE
public static final DatasetSchemaPropertyType JOB_TITLE
-
MONEY_AMOUNT
public static final DatasetSchemaPropertyType MONEY_AMOUNT
-
COUNTRY
public static final DatasetSchemaPropertyType COUNTRY
-
ADDRESS_STATE
public static final DatasetSchemaPropertyType ADDRESS_STATE
-
ADDRESS_POSTAL_CODE
public static final DatasetSchemaPropertyType ADDRESS_POSTAL_CODE
-
ADDRESS_CITY
public static final DatasetSchemaPropertyType ADDRESS_CITY
-
ADDRESS_LINE
public static final DatasetSchemaPropertyType ADDRESS_LINE
-
BIRTH_DATE
public static final DatasetSchemaPropertyType BIRTH_DATE
-
GENDER
public static final DatasetSchemaPropertyType GENDER
-
NATIONAL_ID
public static final DatasetSchemaPropertyType NATIONAL_ID
-
DOCUMENT_SUBJECT
public static final DatasetSchemaPropertyType DOCUMENT_SUBJECT
-
DOCUMENT_BODY
public static final DatasetSchemaPropertyType DOCUMENT_BODY
-
DOCUMENT_SENDER
public static final DatasetSchemaPropertyType DOCUMENT_SENDER
-
DOCUMENT_RECEIVER
public static final DatasetSchemaPropertyType DOCUMENT_RECEIVER
-
META_EXTERNAL_ID
public static final DatasetSchemaPropertyType META_EXTERNAL_ID
-
-
Method Detail
-
values
public static DatasetSchemaPropertyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DatasetSchemaPropertyType c : DatasetSchemaPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasetSchemaPropertyType valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<DatasetSchemaPropertyType>
-
fromValue
public static DatasetSchemaPropertyType fromValue(String value)
-
-