GNUstep Core Data 0.1
NSManagedObjectID.h
1/* Interface of the NSManagedObjectID class for the GNUstep
2 Core Data framework.
3 Copyright (C) 2005 Free Software Foundation, Inc.
4
5 Written by: Saso Kiselkov <diablos@manga.sk>
6 Date: August 2005
7
8 This file is part of the GNUstep Core Data framework.
9
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
14
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, write to the Free
22 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
23 */
24
25#ifndef _NSManagedObjectID_h_
26#define _NSManagedObjectID_h_
27
28#import <Foundation/NSObject.h>
29
30@class NSURL;
31@class NSEntityDescription;
33
34@interface NSManagedObjectID : NSObject <NSCopying>
35{
36 NSEntityDescription * _entity;
37 GSPersistentStore * _persistentStore;
38 unsigned long long _value;
39}
40
41- (NSEntityDescription *) entity;
42- (BOOL) isTemporaryID;
43- (id) persistentStore;
44- (NSURL *) URIRepresentation;
45
46@end
47
48#endif // _NSManagedObjectID_h_
Nn abstract superclass from which concrete implementations of various persistent store types are subc...
For implementation notes see "Documentation/NSManagedObjectID.txt" in the source distribution of the ...