Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Properties | Instance Methods | List of all members
PTDiffusionRecordV2SchemaNode Class Reference

Introduction

A node within a schema.

Since
6.0
Inheritance diagram for PTDiffusionRecordV2SchemaNode:
PTDiffusionRecordV2SchemaField PTDiffusionRecordV2SchemaRecord

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

NSString * name
 
SInt32 min
 
SInt32 max
 
BOOL variable
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(BOOL) - isEqualToRecordV2SchemaNode:
 

Method Documentation

- (BOOL) isEqualToRecordV2SchemaNode: (nullable PTDiffusionRecordV2SchemaNode *)  node

Compares the receiver to the given schema node.

Parameters
nodeThe schema node object with which to compare the receiver.
Returns
YES if the node is equal to the contents of the receiver, otherwise NO.
Since
6.0

Property Documentation

- (SInt32) max
readnonatomicassign

The maximum number of occurrances of the node within its parent.

This will be a positive value greater than or equal to the minimum value, or -1 to indicate an unlimited number.

Since
6.0
- (SInt32) min
readnonatomicassign

The minimum number of occurrences of the node within its parent.

This may be zero for a variable multiplicity field, otherwise it will be a positive value.

Since
6.0
- (NSString*) name
readnonatomicassign

The node name.

Since
6.0
- (BOOL) variable
readnonatomicassign

YES if the node has variable multiplicity - i.e. min != max.

Since
6.0