GPKGExtendedRelation
Objective-C
@interface GPKGExtendedRelation : NSObject <NSMutableCopying>
Swift
class GPKGExtendedRelation : NSObject, NSMutableCopying
Describes the relationships between a base table, a related data table, and a mapping table
-
Extended Relations primary key
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *id;Swift
var id: NSNumber! { get set } -
Name of the table containing the base data (e.g., features) to relate
Declaration
Objective-C
@property (nonatomic, strong) NSString *baseTableName;Swift
var baseTableName: String! { get set } -
Name of the primary key column in base_table_name
Declaration
Objective-C
@property (nonatomic, strong) NSString *basePrimaryColumn;Swift
var basePrimaryColumn: String! { get set } -
Name of the table containing the related information
Declaration
Objective-C
@property (nonatomic, strong) NSString *relatedTableName;Swift
var relatedTableName: String! { get set } -
Name of the primary key column in related_table_name
Declaration
Objective-C
@property (nonatomic, strong) NSString *relatedPrimaryColumn;Swift
var relatedPrimaryColumn: String! { get set } -
Name of the relation
Declaration
Objective-C
@property (nonatomic, strong) NSString *relationName;Swift
var relationName: String! { get set } -
Name of a mapping table
Declaration
Objective-C
@property (nonatomic, strong) NSString *mappingTableName;Swift
var mappingTableName: String! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new extended relation
-
Reset the id so the row can be inserted as new
Declaration
Objective-C
- (void)resetId;Swift
func resetId() -
Get the relation type
Declaration
Objective-C
- (enum GPKGRelationType)relationType;Return Value
relation type
View on GitHub
GPKGExtendedRelation Class Reference