java.lang.Object
com.esri.arcgisruntime.data.CodedValueDescription
An object that describes a
CodedValue
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
ConstructorDescriptionCodedValueDescription
(String name, Object value) Creates a new coded value description object with the specified name and value. -
Method Summary
-
Constructor Details
-
CodedValueDescription
Creates a new coded value description object with the specified name and value.- Parameters:
name
- the coded value's namevalue
- the coded value's value- Throws:
IllegalArgumentException
- if name is nullIllegalArgumentException
- if value is null- Since:
- 100.14.0
-
-
Method Details
-
getName
Gets the coded value's name.- Returns:
- the coded value's name
- Since:
- 100.14.0
-
setName
Sets the coded value's name.- Parameters:
name
- the coded value's name- Throws:
IllegalArgumentException
- if name is null- Since:
- 100.14.0
-
getValue
Gets the coded value's value.For fields that utilize a coded value domain, the field type must match the type of the coded values.
- Returns:
- the coded value's value
- Since:
- 100.14.0
-
setValue
Sets the coded value's value.For fields that utilize a coded value domain, the field type must match the type of the coded values.
- Parameters:
value
- the coded value's value- Throws:
IllegalArgumentException
- if value is null- Since:
- 100.14.0
-