ArcGIS Runtime SDK for iOS: AGSRelationshipInfo.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSRelationshipInfo.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSRelationshipCardinality) {
41 };
42 
47 typedef NS_ENUM(NSInteger, AGSRelationshipRole) {
51 };
52 
72 
73 #pragma mark -
74 #pragma mark initializers
75 
76 
77 
78 #pragma mark -
79 #pragma mark properties
80 
84 @property (nonatomic, assign, readonly) AGSRelationshipCardinality cardinality;
85 
89 @property (nonatomic, assign, readonly) NSInteger relationshipInfoID;
90 
99 @property (nonatomic, assign, readonly, getter=isComposite) BOOL composite;
100 
104 @property (nonatomic, copy, readonly) NSString *keyField;
105 
109 @property (nonatomic, copy, readonly) NSString *name;
110 
114 @property (nonatomic, assign, readonly) NSInteger relatedTableID;
115 
119 @property (nonatomic, assign, readonly) AGSRelationshipRole role;
120 
121 #pragma mark -
122 #pragma mark methods
123 
124 @end
125 
126 
AGSRelationshipCardinality
Definition: AGSRelationshipInfo.h:36
@ AGSRelationshipCardinalityUnknown
Definition: AGSRelationshipInfo.h:40
@ AGSRelationshipCardinalityOneToOne
Definition: AGSRelationshipInfo.h:39
@ AGSRelationshipCardinalityManyToMany
Definition: AGSRelationshipInfo.h:37
@ AGSRelationshipCardinalityOneToMany
Definition: AGSRelationshipInfo.h:38
AGSRelationshipRole
Definition: AGSRelationshipInfo.h:47
@ AGSRelationshipRoleOrigin
Definition: AGSRelationshipInfo.h:49
@ AGSRelationshipRoleDestination
Definition: AGSRelationshipInfo.h:48
@ AGSRelationshipRoleUnknown
Definition: AGSRelationshipInfo.h:50
Definition: AGSObject.h:28
Information about a feature table's relationship.
Definition: AGSRelationshipInfo.h:72
NSString * keyField
Definition: AGSRelationshipInfo.h:104
NSInteger relatedTableID
Definition: AGSRelationshipInfo.h:114
NSInteger relationshipInfoID
Definition: AGSRelationshipInfo.h:89
BOOL composite
Definition: AGSRelationshipInfo.h:99
AGSRelationshipRole role
Definition: AGSRelationshipInfo.h:119
NSString * name
Definition: AGSRelationshipInfo.h:109
AGSRelationshipCardinality cardinality
Definition: AGSRelationshipInfo.h:84