//
//  MCLinkingContext.h
//  MCFoundation
//
//  Created by Michael Clark on 30/03/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface MCLinkingContext : NSObject {

}

+ (MCLinkingContext *)defaultInstance;

+ (void)linkObjects: (NSArray *)sourceObjects toObject: (id)targetObject;
+ (void)linkObject: (id)sourceObject toObject: (id)targetObject;

- (void)linkObjects: (NSArray *)sourceObjects toObject: (id)targetObject;
- (void)linkObject: (id)sourceObject toObject: (id)targetObject;

+ (void)unlinkObjects: (NSArray *)sourceObjects fromObject: (id)targetObject;
+ (void)unlinkObject: (id)sourceObject fromObject: (id)targetObject;

- (void)unlinkObjects: (NSArray *)sourceObjects fromObject: (id)targetObject;
- (void)unlinkObject: (id)sourceObject fromObject: (id)targetObject;

//- (void)notPersistentLinkObjects:(id)targetObjs toObject:(id)srcObj withContext:(NSString*)aContext;
- (void)notPersistentUnlinkObjects:(id)targetObjs toObject:(id)srcObj withContext:(NSString*)aContext;

//- (void)notPersistentLinkObject:(id)targetObj toObject:(id)srcObj withContext:(NSString*)aContext;
- (void)notPersistentUnlinkObject:(id)targetObj fromObject:(id)srcObj withContext:(NSString*)aContext;

@end
