GPKGMetadataReference

Objective-C

@interface GPKGMetadataReference : NSObject <NSMutableCopying>

Swift

class GPKGMetadataReference : NSObject, NSMutableCopying

Links metadata in the gpkg_metadata table to data in the feature, and tiles tables

  • Lowercase metadata reference scope; one of ‘geopackage’, ‘table’,‘column’, ’row’, ’row/col’

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *referenceScope;

    Swift

    var referenceScope: String! { get set }
  • Name of the table to which this metadata reference applies, or NULL for reference_scope of ‘geopackage’.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *tableName;

    Swift

    var tableName: String! { get set }
  • Name of the column to which this metadata reference applies; NULL for reference_scope of ‘geopackage’,‘table’ or ‘row’, or the name of a column in the table_name table for reference_scope of ‘column’ or ‘row/col’

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *columnName;

    Swift

    var columnName: String! { get set }
  • NULL for reference_scope of ‘geopackage’, ‘table’ or ‘column’, or the rowed of a row record in the table_name table for reference_scope of ‘row’ or ‘row/col’

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *rowIdValue;

    Swift

    var rowIdValue: NSNumber! { get set }
  • timestamp value in ISO 8601 format as defined by the strftime function ‘%Y-%m-%dT%H:%M:%fZ’ format string applied to the current time

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *timestamp;

    Swift

    var timestamp: Date! { get set }
  • gpkg_metadata table id column value for the metadata to which this gpkg_metadata_reference applies

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *fileId;

    Swift

    var fileId: NSNumber! { get set }
  • gpkg_metadata table id column value for the hierarchical parent gpkg_metadata for the gpkg_metadata to which this gpkg_metadata_reference applies, or NULL if md_file_id forms the root of a metadata hierarchy

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *parentId;

    Swift

    var parentId: NSNumber! { get set }
  • Get the reference scope type

    Declaration

    Objective-C

    - (enum GPKGReferenceScopeType)referenceScopeType;

    Swift

    func referenceScopeType() -> GPKGReferenceScopeType

    Return Value

    reference scope type

  • Set the reference scope type

    Declaration

    Objective-C

    - (void)setReferenceScopeType:(enum GPKGReferenceScopeType)referenceScopeType;

    Swift

    func setReferenceScopeType(_ referenceScopeType: GPKGReferenceScopeType)

    Parameters

    referenceScopeType

    reference scope type

  • Set the metadata

    Declaration

    Objective-C

    - (void)setMetadata:(GPKGMetadata *)metadata;

    Swift

    func setMetadata(_ metadata: GPKGMetadata!)

    Parameters

    metadata

    metadata

  • Set the parent metadata

    Declaration

    Objective-C

    - (void)setParentMetadata:(GPKGMetadata *)metadata;

    Swift

    func setParentMetadata(_ metadata: GPKGMetadata!)

    Parameters

    metadata

    parent metadata