ArcGIS Runtime SDK for iOS: AGSFieldDescription.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSFieldDescription.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSField.h>
30 
31 
32 
40 
41 #pragma mark -
42 #pragma mark initializers
43 
44 
45 
51 - (instancetype)initWithName:(NSString *)name
52  fieldType:(AGSFieldType)fieldType;
53 
59 + (instancetype)fieldDescriptionWithName:(NSString *)name
60  fieldType:(AGSFieldType)fieldType;
61 
62 #pragma mark -
63 #pragma mark properties
64 
68 @property (nonatomic, copy, readwrite) NSString *alias;
69 
76 @property (nonatomic, copy, readwrite) NSString *domainName;
77 
83 @property (nonatomic, assign, readwrite, getter=isEditable) BOOL editable;
84 
88 @property (nonatomic, assign, readwrite) AGSFieldType fieldType;
89 
93 @property (nonatomic, assign, readwrite) NSInteger length;
94 
101 @property (nonatomic, copy, readwrite) NSString *name;
102 
108 @property (nonatomic, assign, readwrite) BOOL allowNull;
109 
110 #pragma mark -
111 #pragma mark methods
112 
113 @end
114 
115 
AGSFieldType
Definition: AGSField.h:37
An object that describes an AGSField to be created.
Definition: AGSFieldDescription.h:40
BOOL allowNull
Definition: AGSFieldDescription.h:108
NSString * domainName
Definition: AGSFieldDescription.h:76
NSInteger length
Definition: AGSFieldDescription.h:93
BOOL editable
Definition: AGSFieldDescription.h:83
NSString * name
Definition: AGSFieldDescription.h:101
AGSFieldType fieldType
Definition: AGSFieldDescription.h:88
NSString * alias
Definition: AGSFieldDescription.h:68
Definition: AGSObject.h:28