CodedValueDomainDescription

An object that describes a CodedValueDomain to be created. Creation of domains is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via Geodatabase.create(String).

Since

200.1.0

Constructors

Link copied to clipboard
constructor(name: String, fieldType: FieldType, values: Iterable<CodedValueDescription>)

Creates a new coded value domain description object with the specified name and coded values.

Properties

Link copied to clipboard

The coded value domain's coded values. For fields that utilize a coded value domain, the field type must match the type of the coded values.

Inherited properties

Link copied to clipboard

The field type of the domain to be created. Specifies the field type of the domain. Valid field types are FieldType.Int16, FieldType.Int32, FieldType.Float32, FieldType.Float64, and FieldType.Date. Additionally, for CodedValueDomainDescription, FieldType.Text is valid.

Link copied to clipboard

The name of the domain to be created. Specifies the name of the domain. The domain name must be non-empty, consist only of alphanumeric characters and underscores, and cannot start with a number or an underscore.