ArcGIS Runtime SDK for iOS: AGSRelationshipInfo.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSRelationshipInfo.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 
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 
112 @property (nonatomic, copy, readonly) NSString *keyFieldInRelationshipTable;
113 
117 @property (nonatomic, copy, readonly) NSString *name;
118 
122 @property (nonatomic, assign, readonly) NSInteger relatedTableID;
123 
129 @property (nonatomic, assign, readonly) NSInteger relationshipTableID;
130 
134 @property (nonatomic, assign, readonly) AGSRelationshipRole role;
135 
136 #pragma mark -
137 #pragma mark methods
138 
139 @end
140 
141 
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 * keyFieldInRelationshipTable
Definition: AGSRelationshipInfo.h:112
NSString * keyField
Definition: AGSRelationshipInfo.h:104
NSInteger relatedTableID
Definition: AGSRelationshipInfo.h:122
NSInteger relationshipTableID
Definition: AGSRelationshipInfo.h:129
NSInteger relationshipInfoID
Definition: AGSRelationshipInfo.h:89
BOOL composite
Definition: AGSRelationshipInfo.h:99
AGSRelationshipRole role
Definition: AGSRelationshipInfo.h:134
NSString * name
Definition: AGSRelationshipInfo.h:117
AGSRelationshipCardinality cardinality
Definition: AGSRelationshipInfo.h:84