//
//  MCPJoin.h
//  MCPersistence
//
//  Created by aj on Fri Dec 21 2001.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCPDefinitionObject.h"

@class MCPRelationship;
@class MCPAttribute;

@interface MCPJoin : MCPDefinitionObject {
	MCPRelationship		*_relationship;
}

- (void)setRelationship:(MCPRelationship *)rel;
- (MCPRelationship *)relationship;

- (NSString *)sourceAttributeName;
- (MCPAttribute *)sourceAttribute;
- (void)setSourceAttribute:(MCPAttribute *)sourceAttr;

- (NSString *)destinationAttributeName;
- (MCPAttribute *)destinationAttribute;
- (void)setDestinationAttribute:(MCPAttribute *)destAttr;

- (NSString *)sourceColumnName;
- (NSString *)destinationColumnName;

- (void) setSourceAttributeName:(NSString *)source;
- (void) setDestinationAttributeName:(NSString *)dest;

@end
