TRCSchemaData is abstract data structure, used to represent schema and validate it's values. More...

Instance Methods | |
| (void) | - enumerate:withEnumerator: |
Walk through all object structure and call appropriate methods from TRCSchemaDataEnumerator protocol in enumerator. More... | |
| (id) | - modify:withModifier: |
| Walk through all object structure to replace (transform, convert) some of object's values. More... | |
| (void) | - cancel |
| Cancels current process like enumeration or modifying (see methods above). More... | |
| (BOOL) | - isCancelled |
| Tells if current process is cancelled. More... | |
TRCSchemaData is abstract data structure, used to represent schema and validate it's values.
| - (void TRCSchemaData) enumerate: | (id) | object | |
| withEnumerator: | (id< TRCSchemaDataEnumerator >) | enumerator | |
Walk through all object structure and call appropriate methods from TRCSchemaDataEnumerator protocol in enumerator.
Used by TRCSchema to validate object values
| - (id TRCSchemaData) modify: | (id) | object | |
| withModifier: | (id< TRCSchemaDataModifier >) | modifier | |
Walk through all object structure to replace (transform, convert) some of object's values.
TRCSchemaDataModifier methods used to do that. Used by TRCConverter to convert some values using TRCValueTransformers and TRCObjectMappers.
| - (void TRCSchemaData) cancel |
Cancels current process like enumeration or modifying (see methods above).
Called when enumerator or modifier found some error and wants to cancel process.
| - (BOOL TRCSchemaData) isCancelled |
Tells if current process is cancelled.
This method must return YES after cancel method called.