GNUstep Core Data  0.1
NSManagedObjectID.h
00001 /* Interface of the NSManagedObjectID class for the GNUstep
00002    Core Data framework.
00003    Copyright (C) 2005 Free Software Foundation, Inc.
00004 
00005    Written by:  Saso Kiselkov <diablos@manga.sk>
00006    Date: August 2005
00007 
00008    This file is part of the GNUstep Core Data framework.
00009 
00010    This library is free software; you can redistribute it and/or
00011    modify it under the terms of the GNU Lesser General Public
00012    License as published by the Free Software Foundation; either
00013    version 2.1 of the License, or (at your option) any later version.
00014 
00015    This library is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018    Lesser General Public License for more details.
00019 
00020    You should have received a copy of the GNU Lesser General Public
00021    License along with this library; if not, write to the Free
00022    Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
00023  */
00024 
00025 #ifndef _NSManagedObjectID_h_
00026 #define _NSManagedObjectID_h_
00027 
00028 #import <Foundation/NSObject.h>
00029 
00030 @class NSURL;
00031 @class NSEntityDescription;
00032 @class GSPersistentStore;
00033 
00034 @interface NSManagedObjectID : NSObject <NSCopying>
00035 {
00036   NSEntityDescription * _entity;
00037   GSPersistentStore * _persistentStore;
00038   unsigned long long _value;
00039 }
00040 
00041 - (NSEntityDescription *) entity;
00042 - (BOOL) isTemporaryID;
00043 - (id) persistentStore;
00044 - (NSURL *) URIRepresentation;
00045 
00046 @end
00047 
00048 #endif // _NSManagedObjectID_h_