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. * `integer` - A generic integer. * `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. * `meta_record_source` - The record's originating system, repository or document. * `meta_external_id` - The record's ID in an external system. * `meta_record_group` - A record group, typically used when grouping records in deduplication scenarios.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatasetSchemaPropertyType.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYBIRTH_DATECOUNTRYEMAILINTEGERMETA_EXTERNAL_IDMETA_RECORD_GROUPMETA_RECORD_SOURCENATIONAL_IDPERSON_NAMEPHONESTRING
-
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
-
INTEGER
public static final DatasetSchemaPropertyType INTEGER
-
ARRAY
public static final DatasetSchemaPropertyType ARRAY
-
PERSON_NAME
public static final DatasetSchemaPropertyType PERSON_NAME
-
EMAIL
public static final DatasetSchemaPropertyType EMAIL
-
PHONE
public static final DatasetSchemaPropertyType PHONE
-
COUNTRY
public static final DatasetSchemaPropertyType COUNTRY
-
BIRTH_DATE
public static final DatasetSchemaPropertyType BIRTH_DATE
-
NATIONAL_ID
public static final DatasetSchemaPropertyType NATIONAL_ID
-
META_RECORD_SOURCE
public static final DatasetSchemaPropertyType META_RECORD_SOURCE
-
META_EXTERNAL_ID
public static final DatasetSchemaPropertyType META_EXTERNAL_ID
-
META_RECORD_GROUP
public static final DatasetSchemaPropertyType META_RECORD_GROUP
-
-
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)
-
-