Package com.esri.arcgisruntime.data
Class CodedValueDomainDescription
- java.lang.Object
-
- com.esri.arcgisruntime.data.DomainDescription
-
- com.esri.arcgisruntime.data.CodedValueDomainDescription
-
public final class CodedValueDomainDescription extends DomainDescription
An object that describes aCodedValueDomainto 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
Constructors Constructor Description CodedValueDomainDescription(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CodedValueDescription>getValues()Gets the coded value domain's coded values.-
Methods inherited from class com.esri.arcgisruntime.data.DomainDescription
getFieldType, getName, setFieldType, setName
-
-
-
-
Constructor Detail
-
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 Detail
-
getValues
public List<CodedValueDescription> 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
-
-