AGSFeatureType Class Reference
Description
Instances of this class represent a feature type. A feature type describes the various types of features that can belong to a feature layer.
- Since:
- 1.0
- See also:
- A quick tour of subtypes
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
- (id) initWithJSON: |
|
(NSDictionary *) |
json |
parentFields: |
|
(NSArray *) |
parentFields | |
|
|
| | |
Initialize an AGSFeatureType
with json representation and an array of parent fields. The parent fields are important in cases where properties are inherited from the parent field.
- Parameters:
-
- Returns:
- The feature type object.
- Since:
- 1.0
Property Documentation
- (NSDictionary*) domains [read, retain] |
Domains describing permissible attribute values for features of this type. This property is a dictionary containing key-value pairs of field name and a corresponding AGSDomain
object for this type.
- Since:
- 1.0
- (NSString*) name [read, retain] |
The name of this type.
- Since:
- 1.0
- (NSArray*) templates [read, retain] |
Temlates that can be used for creating new features of this type. This property is an array of AGSFeatureTemplate
objects.
- Since:
- 1.0
- (id) typeId [read, copy] |
The ID of this type.
- Since:
- 1.0