1 /*
2 Wotonomy: OpenStep design patterns for pure Java applications.
3 Copyright (C) 2001 Michael Powers
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, see http://www.gnu.org
17 */
18 package net.wotonomy.access;
19
20 /***
21 * An EOJoin represents a connection between two attributes in
22 * different entities.
23 *
24 * @author ezamudio@nasoft.com
25 * @author $Author: cgruber $
26 * @version $Revision: 893 $
27 */
28 public class EOJoin {
29
30 protected EOAttribute _source;
31 protected EOAttribute _destination;
32
33 public EOJoin(EOAttribute src, EOAttribute dst) {
34 super();
35 _source = src;
36 _destination = dst;
37 }
38
39 public EOAttribute sourceAttribute() {
40 return _source;
41 }
42
43 public EOAttribute destinationAttribute() {
44 return _destination;
45 }
46
47 /*
48 * $Log$
49 * Revision 1.1 2006/02/16 13:19:57 cgruber
50 * Check in all sources in eclipse-friendly maven-enabled packages.
51 *
52 * Revision 1.1 2003/08/07 02:41:04 chochos
53 * these don't do much for now.
54 *
55 */
56 }