CodedValueDomain class final
An appropriate list of values for a Field.
A coded value domain consists of a collection of coded values that are saved in the dataset. When a user is editing data, you can present the list of coded values for the fields (attributes) they edit, or validate their input values against the coded value domain before changes are saved. This ensures that the user maintains data integrity by only applying values that are in the CodedValueDomain.codedValues.
You can create a coded value domain in a mobile geodatabase, if the mobile geodatabase was created in ArcGIS Pro or using Geodatabase.create. To create a CodedValueDomain, you can create a CodedValueDomainDescription that has a collection of CodedValueDescription, by using CodedValueDomainDescription.new. Next, you create the CodedValueDomain by calling Geodatabase.createDomain with the CodedValueDomainDescription.
Properties
-
codedValues
→ List<
CodedValue> -
The collection of coded values of this domain.
no setter
- fieldType → FieldType
-
The field type of the domain.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the domain.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited