//
//  NSManagedObjectContext-URI.h
//  TimeLog5
//
//  Created by Stefan Fürst on 14.08.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>


@interface NSManagedObject (NSManagedObjectContext_URI)
-(NSString *)moID;
-(void)addToCache:(NSMutableDictionary *)theCache;
@end

@interface NSManagedObjectContext (NSManagedObjectContext_URI)
-(NSManagedObject *)objectForID:(NSString *)aURI;
-(NSArray *)objectsForIDs:(NSArray *)aURIs;
@end


@interface NSManagedObjectContext (FailSync)
- (BOOL) isEmpty;
@end