ArcGIS Runtime SDK for iOS: AGSCodedValueDomainDescription Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSCodedValueDomainDescription Class Reference

Description

An object that describes an AGSCodedValueDomain to be created.

Creation of domains is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via createWithFileURL:completion: (AGSGeodatabase).

Since
100.14
Inheritance diagram for AGSCodedValueDomainDescription:
AGSDomainDescription AGSObject

Instance Methods

(instancetype) - initWithName:fieldType:values:
 

Class Methods

(instancetype) + codedValueDomainDescriptionWithName:fieldType:values:
 

Properties

AGSFieldType fieldType
 
NSString * name
 
NSArray< AGSCodedValueDescription * > * values
 

Method Documentation

◆ codedValueDomainDescriptionWithName:fieldType:values:

+ (instancetype) codedValueDomainDescriptionWithName: (NSString *)  name
fieldType: (AGSFieldType fieldType
values: (NSArray< AGSCodedValueDescription * > *)  values 

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

Parameters
nameThe coded value domain's name.
fieldTypeThe coded value domain's field type.
valuesThe coded value domain's coded values.
Since
100.14

◆ initWithName:fieldType:values:

- (instancetype) initWithName: (NSString *)  name
fieldType: (AGSFieldType fieldType
values: (NSArray< AGSCodedValueDescription * > *)  values 

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

Parameters
nameThe coded value domain's name.
fieldTypeThe coded value domain's field type.
valuesThe coded value domain's coded values.
Since
100.14

Property Documentation

◆ fieldType

- (AGSFieldType) fieldType
readwritenonatomicassigninherited

The field type of the domain to be created.

Specifies the field type of the domain. Valid field types are AGSFieldTypeInt16, AGSFieldTypeInt32, AGSFieldTypeFloat, and AGSFieldTypeDate. Additionally, for AGSCodedValueDomainDescription, AGSFieldTypeText is valid.

Since
100.14

◆ name

- (NSString*) name
readwritenonatomiccopyinherited

The name of the domain to be created.

Specifies the name of the domain. Domain names within a single geodatabase must be unique.

Since
100.14

◆ values

- (NSArray<AGSCodedValueDescription *>*) values
readwritenonatomiccopy

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.

Since
100.14