ArcGIS Runtime SDK for iOS: AGSRangeDomain Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSRangeDomain Class Reference

Description

Range domain supported by a field.

Instances of this class represent a range domain

Since
100
Inheritance diagram for AGSRangeDomain:
AGSDomain AGSObject <AGSJSONSerializable>

Instance Methods

(BOOL) - isEqualToDomain:
 
(nullable id) - toJSON:
 

Class Methods

(nullable id< AGSJSONSerializable >) + fromJSON:error:
 

Properties

AGSFieldType fieldType
 
id maxValue
 
id minValue
 
NSString * name
 
NSDictionary< NSString *, id > * unknownJSON
 
NSDictionary< NSString *, id > * unsupportedJSON
 

Method Documentation

◆ fromJSON:error:

+ (nullable id<AGSJSONSerializable>) fromJSON: (id)  JSONObject
error: (NSError **)  error 
staticrequiredinherited

Initializes and returns an object from its JSON representation.

Parameters
JSONObjectNSDictionary or NSArray containing the JSON.
errorencountered during the operation, if any.
Since
100

◆ isEqualToDomain:

- (BOOL) isEqualToDomain: (AGSDomain *)  other

Compares this domain to another for equality

Parameters
otherdomain to compare this one to
Returns
whether the two domains are equal or not
Since
100.4

◆ toJSON:

- (nullable id) toJSON: (NSError **)  error
requiredinherited

Returns JSON representation for this object.

Parameters
errorencountered during the operation, if any.
Returns
NSDictionary or NSArray containing the JSON.
Since
100

Reimplemented in AGSPortalItem.

Property Documentation

◆ fieldType

- (AGSFieldType) fieldType
readnonatomicassigninherited

The field type of the domain.

Since
100.14

◆ maxValue

- (id) maxValue
readnonatomicstrong

Maximun value of the range. Can be NSNumber or NSDate

Since
100

◆ minValue

- (id) minValue
readnonatomicstrong

Minumum value of the range. Can be NSNumber or NSDate

Since
100

◆ name

- (NSString*) name
readnonatomiccopyinherited

Name of the domain

Since
100

◆ unknownJSON

- (NSDictionary<NSString*,id>*) unknownJSON
readrequirednonatomiccopyinherited

A dictionary of values that was in the source JSON but was unparsed by API.

Returns
NSDictionary containing the unknown JSON.
Since
100

◆ unsupportedJSON

- (NSDictionary<NSString*,id>*) unsupportedJSON
readnonatomiccopyinherited

A dictionary of values that are supported by the REST API, but not exposed through the SDK API.

Returns
NSDictionary containing the unsupported JSON.
Since
100