|
GNUstep Core Data 0.1
|
Internal methods methods of GNUstep Core Data for NSManagedObjectContext. More...
Instance Methods | |
| (void) | - _setFetchedPropertyValues:ofObject:mergeChanges: |
| Sets up the properties of ‘object’ according to the fetched representation of them in ‘propertyValues’ (see Documentation/GSPersistentStore.txt on details on how this dictionary is structured). | |
| (void) | - _setRelationship:fetchedValue:ofObject: |
| Sets the relationship described by ‘relationship’ in ‘object’ to ‘value’. | |
| (void) | - _registerObjects: |
| Registers the provided objects with the receiver, manipulating their retain count to correctly fit our retaining behavior set by -setRetainsRegisteredObjects:. | |
| (void) | - _registerObject: |
| Equivalent to -_registerObjects:, but operates on only one object. | |
| (void) | - _unregisterObjects: |
| Unregisters the provided objects with the receiver, manipulating their retain count to correctly fit our retaining behavior set by -setRetainsRegisteredObjects:. | |
| (void) | - _unregisterObject: |
| Equivalent to -_unregisterObjects:, but operates on only one object. | |
Internal methods methods of GNUstep Core Data for NSManagedObjectContext.
Do NOT invoke these from external code!
Definition at line 74 of file NSManagedObjectContext.m.
| - (void) _setFetchedPropertyValues: | (NSDictionary *) | propertyValues | |
| ofObject: | (NSManagedObject *) | object | |
| mergeChanges: | (BOOL) | mergeChanges |
Sets up the properties of ‘object’ according to the fetched representation of them in ‘propertyValues’ (see Documentation/GSPersistentStore.txt on details on how this dictionary is structured).
The ‘mergeChanges’ argument behaves like the same name argument described in -[NSManagedObjectContext refreshObject:mergeChanges:].
Definition at line 1019 of file NSManagedObjectContext.m.
| - (void) _setRelationship: | (NSRelationshipDescription *) | relationship | |
| fetchedValue: | (id) | value | |
| ofObject: | (NSManagedObject *) | object |
Sets the relationship described by ‘relationship’ in ‘object’ to ‘value’.
What's important to note is that ‘value’ isn't the actual destination object or a collection of destination objects, but is instead the representation fetched from the persistent store i.e. the destination object's ID or a collection of IDs.
Definition at line 1086 of file NSManagedObjectContext.m.