Diffusion Apple API  6.5.13
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
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

Properties

NSString * name
 
SInt32 min
 
SInt32 max
 
BOOL variable
 

Instance Methods

(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