AGSRangeDomain Class Reference
Description
Instances of this class represent a range domain. Range domains specify a valid range of values for an attribute. For example, Gas Pipe features may have a pressure attributethat can only have values between 5 and 10 psi.
- Since:
- 1.0
List of all members.
Member Function Documentation
- (void) decodeWithJSON: |
|
(NSDictionary *) |
json |
|
[optional, inherited] |
Decode object from JSON representation.
- Parameters:
-
| json | The JSON representation of the object to be decoded. |
- Since:
- 1.0
+ (id) domainWithJSON: |
|
(NSDictionary *) |
json |
parentField: |
|
(AGSField *) |
parentField | |
|
|
| | |
Initialize an AGSDomain
with JSON representation and a parent field. The parent field is important in cases where properties are inherited from the parent field.
- Parameters:
-
- Returns:
- A new, autoreleased, domain.
- Since:
- 1.0
- (NSDictionary *) encodeToJSON |
|
|
|
[optional, inherited] |
Encode and return JSON representation for object.
- Returns:
- JSON representation of object.
- Since:
- 1.0
- (id) initWithJSON: |
|
(NSDictionary *) |
json |
|
[optional, inherited] |
Initialize and return object from JSON representation.
- Parameters:
-
| json | The JSON representation of the object to be created. |
- Returns:
- Object decoded from JSON representation.
- Since:
- 1.0
Property Documentation
- (NSNumber*) maxValue [read, retain] |
The upper limit for the valid range of values.
- Since:
- 1.0
- (NSNumber*) minValue [read, retain] |
The lower limit for the valid range of values.
- Since:
- 1.0
- (NSString*) name [read, retain, inherited] |
Name of the domain.
- Since:
- 1.0