27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSJSONSerializable.h>
65 #pragma mark initializers
82 alias:(NSString *)alias
83 length:(NSInteger)length
85 editable:(BOOL)editable
86 allowNull:(BOOL)allowNull;
100 +(instancetype)fieldWithFieldType:(
AGSFieldType)fieldType
101 name:(NSString *)name
102 alias:(NSString *)alias
103 length:(NSInteger)length
105 editable:(BOOL)editable
106 allowNull:(BOOL)allowNull;
114 +(instancetype)dateFieldWithName:(NSString *)name alias:(NSString *)alias;
122 +(instancetype)doubleFieldWithName:(NSString *)name alias:(NSString *)alias;
130 +(instancetype)floatFieldWithName:(NSString *)name alias:(NSString *)alias;
138 +(instancetype)longIntFieldWithName:(NSString *)name alias:(NSString *)alias;
146 +(instancetype)shortIntFieldWithName:(NSString *)name alias:(NSString *)alias;
155 +(instancetype)textFieldWithName:(NSString *)name alias:(NSString *)alias length:(NSInteger)length;
158 #pragma mark properties
163 @property (nonatomic, copy, readonly) NSString *
name;
174 @property (nonatomic, copy, readonly) NSString *
alias;
184 @property (nonatomic, assign, readonly, getter=isEditable) BOOL
editable;
194 @property (nonatomic, assign, readonly) NSInteger
length;
AGSFieldType
Definition: AGSField.h:37
@ AGSFieldTypeBlob
Definition: AGSField.h:48
@ AGSFieldTypeDouble
Definition: AGSField.h:43
@ AGSFieldTypeGeometry
Definition: AGSField.h:49
@ AGSFieldTypeRaster
Definition: AGSField.h:50
@ AGSFieldTypeInt16
Definition: AGSField.h:39
@ AGSFieldTypeText
Definition: AGSField.h:45
@ AGSFieldTypeDate
Definition: AGSField.h:44
@ AGSFieldTypeOID
Definition: AGSField.h:46
@ AGSFieldTypeXML
Definition: AGSField.h:51
@ AGSFieldTypeUnknown
Definition: AGSField.h:38
@ AGSFieldTypeGUID
Definition: AGSField.h:41
@ AGSFieldTypeGlobalID
Definition: AGSField.h:47
@ AGSFieldTypeFloat
Definition: AGSField.h:42
@ AGSFieldTypeInt32
Definition: AGSField.h:40
information about a field's domain
Definition: AGSDomain.h:37
An object that represents information about a field.
Definition: AGSField.h:62
AGSDomain * domain
Definition: AGSField.h:179
NSString * alias
Definition: AGSField.h:174
NSInteger length
Definition: AGSField.h:194
NSString * name
Definition: AGSField.h:163
BOOL allowNull
Definition: AGSField.h:189
BOOL editable
Definition: AGSField.h:184
AGSFieldType type
Definition: AGSField.h:168
Definition: AGSObject.h:28
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38