1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package org.dbforms.config;
25
26
27 /***
28 * DOCUMENT ME!
29 *
30 * @author $author$
31 * @version $Revision: 1.4 $
32 */
33 public class Reference {
34 /*** Holds value of property foreign. */
35 private String foreign;
36
37 /*** Holds value of property local. */
38 private String local;
39
40 /***
41 * Creates a new instance of ReferenceColumnPair
42 */
43 public Reference() {
44 }
45
46
47 /***
48 * Creates a new Reference object.
49 *
50 * @param local DOCUMENT ME!
51 * @param foreign DOCUMENT ME!
52 */
53 public Reference(String local,
54 String foreign) {
55 this.local = local;
56 this.foreign = foreign;
57 }
58
59 /***
60 * Setter for property foreign.
61 *
62 * @param foreign New value of property foreign.
63 */
64 public void setForeign(String foreign) {
65 this.foreign = foreign;
66 }
67
68
69 /***
70 * Getter for property foreign.
71 *
72 * @return Value of property foreign.
73 */
74 public String getForeign() {
75 return this.foreign;
76 }
77
78
79 /***
80 * Setter for property local.
81 *
82 * @param local New value of property local.
83 */
84 public void setLocal(String local) {
85 this.local = local;
86 }
87
88
89 /***
90 * Getter for property local.
91 *
92 * @return Value of property local.
93 */
94 public String getLocal() {
95 return this.local;
96 }
97 }