Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionRecordV2SchemaNode Class Reference

A node within a schema. More...

#include <PTDiffusionRecordV2SchemaNode.h>

Inheritance diagram for PTDiffusionRecordV2SchemaNode:
PTDiffusionRecordV2SchemaField PTDiffusionRecordV2SchemaRecord

Instance Methods

(BOOL) - isEqualToRecordV2SchemaNode:

Properties

NSString * name
SInt32 min
SInt32 max
BOOL variable

Detailed Description

A node within a schema.

Since
6.0

Method Documentation

◆ isEqualToRecordV2SchemaNode:

- (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

◆ max

- (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

◆ min

- (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

◆ name

- (NSString*) name
readnonatomicassign

The node name.

Since
6.0

◆ variable

- (BOOL) variable
readnonatomicassign

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

Since
6.0