AGSCodedValue Class Reference


Description

Instances of this class represent coded values of AGSCodedValueDomain.

Since:
1.0
Inheritance diagram for AGSCodedValue:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

id code
NSString * name

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
- (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

- (id) code [read, retain]

The actual value of the coded value. The data type of the value depends upon the data type of the field it is associated with.

Since:
1.0
- (NSString*) name [read, retain]

A user-friendly name of the coded value.

Since:
1.0