AGSCodedValueDomain Class Reference
Description
Instances of this class represent a coded-value domain. Coded-value domains specify a valid set of values for an attribute. For example, Airport features may have a category attribute that can only have "international", "domestic", or "military" values. 
- 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
      
        
          | - (NSArray*) codedValues  [read, retain] | 
      
 
The valid set of values permitted by this domain. This property is an array of AGSCodedValue objects. 
- Since:
- 1.0 
 
 
      
        
          | - (NSString*) name  [read, retain, inherited] | 
      
 
Name of the domain. 
- Since:
- 1.0