GNUstep Core Data  0.1
Public Member Functions
NSFetchRequest Class Reference

An object for storing details about managed object fetches. More...

List of all members.

Public Member Functions

(id) - _initWithAffectedStores:entity:fetchLimit:predicate:sortDescriptors:
 A shorthand method for quick initialization.
(NSArray *) - affectedStores
 Returns an array of stores on which this fetch will executed.
(void) - setAffectedStores:
 Sets the stores on which this fetch will be executed.
(NSEntityDescription *) - entity
 Returns the entity of the fetch request.
(void) - setEntity:
 Sets the entity of the fetch request.
(unsigned int) - fetchLimit
 Returns the fetch limit of the receiver.
(void) - setFetchLimit:
 Sets the fetch limit of the receiver.
(NSPredicate *) - predicate
 Returns the predicate of the receiver.
(void) - setPredicate:
 Sets the predicate of the receiver.
(NSArray *) - sortDescriptors
 Returns the receiver's sort descriptors.
(void) - setSortDescriptors:
 Sets the sort descriptors of the receiver.

Detailed Description

An object for storing details about managed object fetches.

A fetch request records information on which objects to fetch from an object context when the -[NSManagedObjectContext executeFetchRequest:] method is invoked.

You can easily assemble fetch requests with the help of the DataBuilder application at project design-time, and later access them at run-time through the managed object model.

Definition at line 33 of file NSFetchRequest.h.


Member Function Documentation

- (NSEntityDescription *) entity

Returns the entity of the fetch request.

See also -[NSFetchRequest setEntity:].

Definition at line 90 of file NSFetchRequest.m.

- (unsigned int) fetchLimit

Returns the fetch limit of the receiver.

See also -[NSFetchRequest setFetchLimit:].

Definition at line 108 of file NSFetchRequest.m.

- (NSPredicate *) predicate

Returns the predicate of the receiver.

See also -[NSFetchRequest setPredicate:].

Definition at line 125 of file NSFetchRequest.m.

- (void) setEntity: (NSEntityDescription *)  entity

Sets the entity of the fetch request.

If not `nil', objects must have the given entity set in order to be fetched by this fetch request.

Definition at line 99 of file NSFetchRequest.m.

- (void) setPredicate: (NSPredicate *)  predicate

Sets the predicate of the receiver.

If not `nil', objects must evaluate to YES in order to be fetched by this fetch request.

Definition at line 134 of file NSFetchRequest.m.

- (void) setSortDescriptors: (NSArray *)  sortDescriptors

Sets the sort descriptors of the receiver.

If not `nil', after the fetch, the fetched objects are sorted using these sort descriptors.

Definition at line 153 of file NSFetchRequest.m.

- (NSArray *) sortDescriptors

Returns the receiver's sort descriptors.

See also -[NSFetchRequest setSortDescriptors:].

Definition at line 143 of file NSFetchRequest.m.


The documentation for this class was generated from the following files: