A record is a collection of fields.
A record object is immutable.
- See Also
- PTDiffusionRecordContent
-
PTDiffusionRecordMetadata
- Since
- 5.6
Returns fields transformed by a PTDiffusionFieldMetadata object with the given name.
If no fields were found with the given name or metadata is nil
then this method will return an empty array.
- Parameters
-
name | The name to find when examining metadata to select fields. |
- Exceptions
-
NSInvalidArgumentException | If the given name is nil . |
- Since
- 5.6
Returns the first field object transformed by a PTDiffusionFieldMetadata object with the given name.
If no fields were found with the given name or metadata is nil
then this method will return nil
.
- Parameters
-
name | The name to find when examining metadata to select field. |
- Exceptions
-
NSInvalidArgumentException | If the given name is nil . |
- Since
- 5.6
Compares the receiver to the given record.
- Parameters
-
record | The record object with which to compare the receiver. |
- Returns
YES
if the record is equal to the receiver, otherwise NO
.
- Since
- 5.6
The data defining the receiver. This returns the raw underlying bytes. It has not been transformed in any way.
- Since
- 5.6
Returns all fields encapsulated by the receiver. This array may be empty.
- Since
- 5.6
The metadata defining the transformation applied to the receiver's data to produce the fields.
- Since
- 5.6