PWSchema Class Reference
Inherits from | NSObject |
Conforms to | NSCoding NSCopying |
Declared in | PWSchema.h |
Overview
PWSchema
objects are applied to PWStructure
items and define what fields of data a particular PWStructure
item can contain. You can modify PWSchema
values in the MaaS portal. PWSchema
conforms to the NSCoding
and NSCopying
protocol.
Tasks
Other Methods
-
schemaID
property -
name
property -
fields
property -
attributes
property -
tags
property -
creationDate
property -
lastUpdated
property
Convenience
Properties
attributes
A array of attributes associated with the schema. Attribute objects are of NSDictionary
type: @{@"key" : @"value"}
.
@property (nonatomic, readonly) NSArray *attributes
Declared In
PWSchema.h
creationDate
The creation date of the schema.
@property (nonatomic, readonly) NSDate *creationDate
Declared In
PWSchema.h
fields
An array of PWSchemaField
objects associated with the schema.
@property (nonatomic, readonly) NSArray *fields
Declared In
PWSchema.h
lastUpdated
The date of the last update for the schema.
@property (nonatomic, readonly) NSDate *lastUpdated
Declared In
PWSchema.h
name
A string that is used to identify the schema name.
@property (nonatomic, readonly) NSString *name
Declared In
PWSchema.h
Class Methods
unpack:
Convenience method to instantiate a PWSchema
object from a properly formatted NSDictionary
object.
+ (instancetype)unpack:(NSDictionary *)dictionary
Parameters
- dictionary
The dictionary from which to instantiate the
PWSchema
object.
Declared In
PWSchema.h