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
-
changeTypeThe type of the change.
property -
objectEntityNameThe name of the entity for this sync change.
property -
objectSyncIDThe sync ID (
propertyticdsSyncIDattribute) of the managed object to which this sync change refers. -
relevantKeyThe relevant key that was changed if this is sync change represents an attribute change.
property -
changedAttributesThe changed values of the attributes (used for attribute change, and insertion).
property -
changedRelationshipsThe changed relationships for a relationship sync change.
property -
relatedObjectEntityNameThe name of the related entity.
property -
localTimeStampThe 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.
-
relevantManagedObjectThe managed object instance to which this sync change refers.
property
Properties
changeType
The type of the change.
@property (nonatomic, retain) NSNumber *changeTypeDiscussion
See TICDSTypesAndEnums.h for the list of possible change types.
Declared In
TICDSSyncChange.hchangedAttributes
The changed values of the attributes (used for attribute change, and insertion).
@property (nonatomic, retain) id changedAttributesDeclared In
TICDSSyncChange.hchangedRelationships
The changed relationships for a relationship sync change.
@property (nonatomic, retain) id changedRelationshipsDeclared In
TICDSSyncChange.hlocalTimeStamp
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 *localTimeStampDeclared In
TICDSSyncChange.hobjectEntityName
The name of the entity for this sync change.
@property (nonatomic, retain) NSString *objectEntityNameDeclared In
TICDSSyncChange.hobjectSyncID
The sync ID (ticdsSyncID attribute) of the managed object to which this sync change refers.
@property (nonatomic, retain) NSString *objectSyncIDDeclared In
TICDSSyncChange.hrelatedObjectEntityName
The name of the related entity.
@property (nonatomic, retain) NSString *relatedObjectEntityNameDeclared In
TICDSSyncChange.hClass Methods
syncChangeOfType:inManagedObjectContext:
Create a sync change of the specified type in the given managed object context.
+ (id)syncChangeOfType:(TICDSSyncChangeType)aType inManagedObjectContext:(NSManagedObjectContext *)aMocParameters
- aType
The type of the change (see
TICDSTypesAndEnums.hfor 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