GPKGUserTableMetadata

Objective-C

@interface GPKGUserTableMetadata : NSObject

Swift

class GPKGUserTableMetadata : NSObject

User Table Metadata for defining table creation information

  • Table name

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *tableName;

    Swift

    var tableName: String! { get set }
  • Data type

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *dataType;

    Swift

    var dataType: String! { get set }
  • Identifier

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *identifier;

    Swift

    var identifier: String! { get set }
  • Description

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *theDescription;

    Swift

    var theDescription: String! { get set }
  • ID column name

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *idColumnName;

    Swift

    var idColumnName: String! { get set }
  • ID autoincrement flag

    Declaration

    Objective-C

    @property (nonatomic) BOOL autoincrement;

    Swift

    var autoincrement: Bool { get set }
  • Additional table columns

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<GPKGUserColumn *> *additionalColumns;

    Swift

    var additionalColumns: [GPKGUserColumn]! { get set }
  • Table columns

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<GPKGUserColumn *> *columns;

    Swift

    var columns: [GPKGUserColumn]! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new user table metadata

  • Get the default data type

    Declaration

    Objective-C

    - (NSString *)defaultDataType;

    Swift

    func defaultDataType() -> String!

    Return Value

    default data type

  • Build the table columns

    Declaration

    Objective-C

    - (NSArray<GPKGUserColumn *> *)buildColumns;

    Swift

    func buildColumns() -> [GPKGUserColumn]!

    Return Value

    table columns