PWSchemaField Class Reference
| Inherits from | NSObject |
| Conforms to | NSCoding NSCopying |
| Declared in | PWSchemaField.h |
Overview
PWSchemaField objects define the fields that are specified for a PWSchema object. A PWSchemaField object has a few base parameters and can be extended to support additional key:value pairs. Additional key:value pairs are available in the customKeys property. You can modify PWSchemaField values in the MaaS portal. PWSchemaField conforms to the NSCoding and NSCopying protocol.
Tasks
Other Methods
-
fieldproperty -
labelproperty -
typeproperty -
requiredproperty -
fieldDescriptionproperty -
customKeysproperty
Convenience
Properties
customKeys
Additional keys are based on the type and can be modified in the MaaS portal.
@property (nonatomic, readonly) NSDictionary *customKeysDeclared In
PWSchemaField.hfield
A string describing the field key.
@property (nonatomic, readonly) NSString *fieldDeclared In
PWSchemaField.hfieldDescription
A string describing the field.
@property (nonatomic, readonly) NSString *fieldDescriptionDeclared In
PWSchemaField.hlabel
A string describing the field label.
@property (nonatomic, readonly) NSString *labelDeclared In
PWSchemaField.hrequired
A boolean value which indicates whether or note this field is required.
@property (nonatomic, readonly) BOOL requiredDeclared In
PWSchemaField.htype
A string describing the field type.
@property (nonatomic, readonly) NSString *typeDeclared In
PWSchemaField.hClass Methods
unpack:
Convenience method to instantiate a PWSchemaField object from a properly formatted NSDictionary object.
+ (instancetype)unpack:(NSDictionary *)dictionaryParameters
- dictionary
The dictionary from which to instantiate the
PWSchemaFieldobject.
Declared In
PWSchemaField.h