AGSAttachmentInfo Class Reference


Description

Information about an attachment associated with a feature.

Defined in:
AGSAttachmentInfo.h ( ArcGIS library)
Since:
1.0
See also:
AGSFeatureLayerEditingDelegate
Inheritance diagram for AGSAttachmentInfo:
<AGSCoding>

List of all members.

Public Member Functions

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

Properties

NSInteger attachmentId
NSString * contentType
NSString * name
NSInteger size

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
- (BOOL) isEqualToAttachmentInfo: (AGSAttachmentInfo *)  other  

Compares one attachment info to another.

Since:
1.8

Property Documentation

- (NSInteger) attachmentId [read, assign]

The unique id of the attachment in the database.

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

The MIME type of the attachment.

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

The name of the attachment.

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

The size of the attachment in bytes.

Since:
1.0