java.lang.Object
com.esri.arcgisruntime.data.DomainDescription
com.esri.arcgisruntime.data.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.createAsync(String)
.
- Since:
- 100.14.0
-
Constructor Summary
ConstructorDescriptionCodedValueDomainDescription
(String name, Field.Type fieldType, Iterable<CodedValueDescription> values) Creates a new coded value domain description object with the specified name and coded values. -
Method Summary
Modifier and TypeMethodDescriptionGets the coded value domain's coded values.Methods inherited from class com.esri.arcgisruntime.data.DomainDescription
getFieldType, getName, setFieldType, setName
-
Constructor Details
-
CodedValueDomainDescription
public CodedValueDomainDescription(String name, Field.Type fieldType, Iterable<CodedValueDescription> values) Creates a new coded value domain description object with the specified name and coded values.- Parameters:
name
- the coded value domain's namefieldType
- the coded value domain's field typevalues
- the coded value domain's coded values- Throws:
IllegalArgumentException
- if name is nullIllegalArgumentException
- if fieldType is nullIllegalArgumentException
- if values is null- Since:
- 100.14.0
-
-
Method Details
-
getValues
Gets 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.
- Returns:
- a mutable list of coded value domain's coded values
- Since:
- 100.14.0
-