Instance Property

temporaryID

A Boolean value that indicates whether the object ID is temporary.

Declaration

@property(getter=isTemporaryID, readonly) BOOL temporaryID;

Discussion

YES if the receiver is temporary, otherwise NO. Most object IDs return NO. New objects inserted into a managed object context are assigned a temporary ID which is replaced with a permanent one once the object gets saved to a persistent store.

See Also

Getting Managed Object ID Information

entity

The entity description associated with the object ID.

persistentStore

The persistent store that fetched the object for the object ID.

- URIRepresentation

Returns a URI that provides an archiveable reference to the object for the object ID.