Instance Method

hasFaultForRelationshipNamed:

Returns a Boolean value that indicates whether the relationship for a given key is a fault.

Declaration

- (BOOL)hasFaultForRelationshipNamed:(NSString *)key;

Parameters

key

The name of one of the receiver’s relationships.

Return Value

YES if the relationship for for the key key is a fault, otherwise NO.

Discussion

If the specified relationship is a fault, calling this method does not result in the fault firing.

See Also

Getting State Information

managedObjectContext

The managed object context with which the managed object is registered.

hasChanges

A Boolean value that indicates whether the managed object has been inserted, has been deleted, or has unsaved changes.

inserted

A Boolean value that indicates whether the managed object has been inserted in a managed object context.

updated

A Boolean value that indicates whether the managed object has unsaved changes.

deleted

A Boolean value that indicates whether the managed object will be deleted during the next save.

fault

A Boolean value that indicates whether the managed object is a fault.

faultingState

The faulting state of the managed object.

hasPersistentChangedValues

A Boolean value that indicates whether the managed object has persistent changes.