AGSEditResult Class Reference


Description

Instances of this class represent the outcome of an edit operation (add, update, or delete) on a feature or a feature's attachment.

Defined in:
AGSEditResult.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSEditResult:
<AGSCoding>

List of all members.

Public Member Functions

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

Properties

AGSEditResultErrorerror
NSString * globalId
NSInteger objectId
BOOL success

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

- (AGSEditResultError*) error [read, retain]

Information about the error if the edit did not succeed.

Since:
1.0
- (NSString*) globalId [read, copy]

The GLOBALID of the feature or the attachment which was edited.

Since:
1.0
- (NSInteger) objectId [read, assign]

The OBJECTID of the feature or the attachment which was edited.

Since:
1.0
- (BOOL) success [read, assign]

Indicates whether the edit succeeded.

Since:
1.0