AGSRelationship Class Reference
Description
Instances of this class represent a relationship between a source and a target. The source could either be a layer or a table. The target could also be either a layer or a table.
- 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
- (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 relationship. Usually describes how the source and target are related.
- Since:
- 1.0
- (NSInteger) relatedTableId [read, assign] |
The ID of the layer/table which is the target of this relationship.
- Since:
- 1.0
- (NSInteger) relationshipId [read, assign] |
ID of the relationship.
- Since:
- 1.0