Package com.esri.arcgisruntime.data
Class RangeDomainDescription
- java.lang.Object
-
- com.esri.arcgisruntime.data.DomainDescription
-
- com.esri.arcgisruntime.data.RangeDomainDescription
-
public final class RangeDomainDescription extends DomainDescription
An object that describes aRangeDomain
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 RangeDomainDescription(java.lang.String name, Field.Type fieldType, java.lang.Object minValue, java.lang.Object maxValue)
Creates a new range domain description object with the specified name and values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getMaxValue()
Gets the range domain's maximum value.java.lang.Object
getMinValue()
Gets the range domain's minimum value.void
setMaxValue(java.lang.Object maxValue)
Sets the range domain's maximum value.void
setMinValue(java.lang.Object minValue)
Sets the range domain's minimum value.-
Methods inherited from class com.esri.arcgisruntime.data.DomainDescription
getFieldType, getName, setFieldType, setName
-
-
-
-
Constructor Detail
-
RangeDomainDescription
public RangeDomainDescription(java.lang.String name, Field.Type fieldType, java.lang.Object minValue, java.lang.Object maxValue)
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:
java.lang.IllegalArgumentException
- if name is nulljava.lang.IllegalArgumentException
- if fieldType is nulljava.lang.IllegalArgumentException
- if minValue is nulljava.lang.IllegalArgumentException
- if maxValue is null- Since:
- 100.14.0
-
-
Method Detail
-
getMaxValue
public java.lang.Object 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
public void setMaxValue(java.lang.Object maxValue)
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:
java.lang.IllegalArgumentException
- if maxValue is null- Since:
- 100.14.0
-
getMinValue
public java.lang.Object 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
public void setMinValue(java.lang.Object minValue)
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:
java.lang.IllegalArgumentException
- if minValue is null- Since:
- 100.14.0
-
-