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 aCodedValueDomain
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
Constructors Constructor Description CodedValueDomainDescription(java.lang.String name, Field.Type fieldType, java.lang.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 java.util.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(java.lang.String name, Field.Type fieldType, java.lang.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:
java.lang.IllegalArgumentException
- if name is nulljava.lang.IllegalArgumentException
- if fieldType is nulljava.lang.IllegalArgumentException
- if values is null- Since:
- 100.14.0
-
-
Method Detail
-
getValues
public java.util.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
-
-