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
-
schemaIDproperty -
nameproperty -
fieldsproperty -
attributesproperty -
tagsproperty -
creationDateproperty -
lastUpdatedproperty
Convenience
Properties
attributes
A array of attributes associated with the schema. Attribute objects are of NSDictionary type: @{@"key" : @"value"}.
@property (nonatomic, readonly) NSArray *attributesDeclared In
PWSchema.hcreationDate
The creation date of the schema.
@property (nonatomic, readonly) NSDate *creationDateDeclared In
PWSchema.hfields
An array of PWSchemaField objects associated with the schema.
@property (nonatomic, readonly) NSArray *fieldsDeclared In
PWSchema.hlastUpdated
The date of the last update for the schema.
@property (nonatomic, readonly) NSDate *lastUpdatedDeclared In
PWSchema.hname
A string that is used to identify the schema name.
@property (nonatomic, readonly) NSString *nameDeclared In
PWSchema.hClass Methods
unpack:
Convenience method to instantiate a PWSchema object from a properly formatted NSDictionary object.
+ (instancetype)unpack:(NSDictionary *)dictionaryParameters
- dictionary
The dictionary from which to instantiate the
PWSchemaobject.
Declared In
PWSchema.h