An object that describes an AGSRangeDomain
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
◆ initWithName:fieldType:minValue:maxValue:
- (instancetype) initWithName: |
|
(NSString *) |
name |
fieldType: |
|
(AGSFieldType) |
fieldType |
minValue: |
|
(id) |
minValue |
maxValue: |
|
(id) |
maxValue |
|
|
| |
Creates a new range domain description object with the specified name and values.
- Parameters
-
name | The range domain's name. |
fieldType | The range domain's field type. |
minValue | The range domain's minimum value. |
maxValue | The range domain's maximum value. |
- Since
- 100.14
◆ rangeDomainDescriptionWithName:fieldType:minValue:maxValue:
+ (instancetype) rangeDomainDescriptionWithName: |
|
(NSString *) |
name |
fieldType: |
|
(AGSFieldType) |
fieldType |
minValue: |
|
(id) |
minValue |
maxValue: |
|
(id) |
maxValue |
|
|
| |
Creates a new range domain description object with the specified name and values.
- Parameters
-
name | The range domain's name. |
fieldType | The range domain's field type. |
minValue | The range domain's minimum value. |
maxValue | The range domain's maximum value. |
- Since
- 100.14
◆ 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
◆ maxValue
The range domain's maximum value.
For fields that utilize a range domain, the field type must match the type of the min and max values.
- Since
- 100.14
◆ minValue
The range domain's minimum value.
For fields that utilize a range domain, the field type must match the type of the minimum and maximum values.
- Since
- 100.14
◆ 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