java.lang.Object
com.esri.arcgisruntime.data.DomainDescription
com.esri.arcgisruntime.data.RangeDomainDescription
An object that describes a
RangeDomain
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
ConstructorDescriptionRangeDomainDescription
(String name, Field.Type fieldType, Object minValue, Object maxValue) Creates a new range domain description object with the specified name and values. -
Method Summary
Modifier and TypeMethodDescriptionGets the range domain's maximum value.Gets the range domain's minimum value.void
setMaxValue
(Object maxValue) Sets the range domain's maximum value.void
setMinValue
(Object minValue) Sets the range domain's minimum value.Methods inherited from class com.esri.arcgisruntime.data.DomainDescription
getFieldType, getName, setFieldType, setName
-
Constructor Details
-
RangeDomainDescription
Creates a new range domain description object with the specified name and values.- Parameters:
name
- the range domain's namefieldType
- the range domain's field typeminValue
- the range domain's minimum valuemaxValue
- the range domain's maximum value- Throws:
IllegalArgumentException
- if name is nullIllegalArgumentException
- if fieldType is nullIllegalArgumentException
- if minValue is nullIllegalArgumentException
- if maxValue is null- Since:
- 100.14.0
-
-
Method Details
-
getMaxValue
Gets the range domain's maximum value.For fields that utilize a range domain, the field type must match the type of the min and max values.
- Returns:
- the range domain's maximum value
- Since:
- 100.14.0
-
setMaxValue
Sets the range domain's maximum value.For fields that utilize a range domain, the field type must match the type of the min and max values.
- Parameters:
maxValue
- the range domain's maximum value- Throws:
IllegalArgumentException
- if maxValue is null- Since:
- 100.14.0
-
getMinValue
Gets the range domain's minimum value.For fields that utilize a range domain, the field type must match the type of the minimum and maximum values.
- Returns:
- the range domain's minimum value
- Since:
- 100.14.0
-
setMinValue
Sets the range domain's minimum value.For fields that utilize a range domain, the field type must match the type of the minimum and maximum values.
- Parameters:
minValue
- the range domain's minimum value- Throws:
IllegalArgumentException
- if minValue is null- Since:
- 100.14.0
-