GNUstep Core Data  0.1
Instance Methods | List of all members
NSManagedObjectContext(GSCoreDataInternal) Category Reference

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). More...
 
(void) - _setRelationship:fetchedValue:ofObject:
 Sets the relationship described by ‘relationship’ in ‘object’ to ‘value’. More...
 
(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.
 

Detailed Description

Internal methods methods of GNUstep Core Data for NSManagedObjectContext.

Do NOT invoke these from external code!

Definition at line 74 of file NSManagedObjectContext.m.

Method Documentation

◆ _setFetchedPropertyValues:ofObject:mergeChanges:

- (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 1220 of file NSManagedObjectContext.m.

◆ _setRelationship:fetchedValue:ofObject:

- (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 1220 of file NSManagedObjectContext.m.


The documentation for this category was generated from the following file: