TICDSSyncChange Class Reference
Inherits from | NSManagedObject |
Declared in | TICDSSyncChange.h |
Overview
TICDSSyncChange
objects are used to describe changes made to synchronized objects within a synchronized managed object.
Tasks
Class Factory Method
-
+ syncChangeOfType:inManagedObjectContext:
Create a sync change of the specified type in the given managed object context.
Persistent Properties
-
changeType
The type of the change.
property -
objectEntityName
The name of the entity for this sync change.
property -
objectSyncID
The sync ID (
propertyticdsSyncID
attribute) of the managed object to which this sync change refers. -
relevantKey
The relevant key that was changed if this is sync change represents an attribute change.
property -
changedAttributes
The changed values of the attributes (used for attribute change, and insertion).
property -
changedRelationships
The changed relationships for a relationship sync change.
property -
relatedObjectEntityName
The name of the related entity.
property -
localTimeStamp
The local timestamp of this change; note this is used only to sort sync changes when they are being applied. The last modification date of the entire sync change set determines the order in which change sets are applied.
property
Non-Persisted Properties.
-
relevantManagedObject
The managed object instance to which this sync change refers.
property
Properties
changeType
The type of the change.
@property (nonatomic, retain) NSNumber *changeType
Discussion
See TICDSTypesAndEnums.h
for the list of possible change types.
Declared In
TICDSSyncChange.h
changedAttributes
The changed values of the attributes (used for attribute change, and insertion).
@property (nonatomic, retain) id changedAttributes
Declared In
TICDSSyncChange.h
changedRelationships
The changed relationships for a relationship sync change.
@property (nonatomic, retain) id changedRelationships
Declared In
TICDSSyncChange.h
localTimeStamp
The local timestamp of this change; note this is used only to sort sync changes when they are being applied. The last modification date of the entire sync change set determines the order in which change sets are applied.
@property (nonatomic, retain) NSDate *localTimeStamp
Declared In
TICDSSyncChange.h
objectEntityName
The name of the entity for this sync change.
@property (nonatomic, retain) NSString *objectEntityName
Declared In
TICDSSyncChange.h
objectSyncID
The sync ID (ticdsSyncID
attribute) of the managed object to which this sync change refers.
@property (nonatomic, retain) NSString *objectSyncID
Declared In
TICDSSyncChange.h
relatedObjectEntityName
The name of the related entity.
@property (nonatomic, retain) NSString *relatedObjectEntityName
Declared In
TICDSSyncChange.h
Class Methods
syncChangeOfType:inManagedObjectContext:
Create a sync change of the specified type in the given managed object context.
+ (id)syncChangeOfType:(TICDSSyncChangeType)aType inManagedObjectContext:(NSManagedObjectContext *)aMoc
Parameters
- aType
The type of the change (see
TICDSTypesAndEnums.h
for possible values).
- aMoc
The managed object context in which to create the sync change.
Return Value
A suitably-configured TICDSSyncChange
object for the given change.
Declared In
TICDSSyncChange.h