AGSDomain Class Reference
Description
Instances of this class represent attribute domains. Domains are a set of rules that describe the legal values for a field. Domains provide a way to constrain attribute values and enforce data integrity.
- 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
- (NSString*) name [read, retain] |
Name of the domain.
- Since:
- 1.0