AGSField Class Reference
Description
Instances of this class represent information about each field in a layer.
- 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*) alias [read, retain] |
Alias name of the field. Alias name is usually more user friendly than the actual field name which may use underlying datasource naming conventions.
- Since:
- 1.0
The domain limiting values to a range or a set of codes for the field.
- Since:
- 1.0
- (BOOL) editable [read, assign] |
Indicates whether the field is editable.
- Since:
- 1.0
- (int) length [read, assign] |
The field length.
- Since:
- 1.0
- (NSString*) name [read, retain] |
Name of the field.
- Since:
- 1.0
Type of values in the field. Possible field types include
AGSFieldTypeInteger
AGSFieldTypeSmallInteger
AGSFieldTypeDouble
AGSFieldTypeSingle
AGSFieldTypeString
AGSFieldTypeDate
AGSFieldTypeGeometry
AGSFieldTypeOID
AGSFieldTypeBlob
AGSFieldTypeGlobalID
AGSFieldTypeRaster
AGSFieldTypeGUID
AGSFieldTypeXML
- Since:
- 1.0