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.5 $
32 */
33 public class ForeignKey {
34 /*** Holds value of property displayType */
35 private String displayType;
36
37 /*** Holds value of property foreignTable. */
38 private String foreignTable;
39
40 /*** Holds value of property format. */
41 private String format;
42
43 /*** Holds value of property name. */
44 private String name;
45
46 /*** Holds value of property visibleFields. */
47 private String visibleFields;
48
49 /*** Holds value of property referencesVector. */
50 private java.util.Vector referencesVector;
51
52 /*** Holds value of property id. */
53 private int id;
54
55 /***
56 * Creates a new instance of ForeignKeyInfo
57 */
58 public ForeignKey() {
59 referencesVector = new java.util.Vector();
60 }
61
62 /***
63 * Setter for property displayType.
64 *
65 * @param displayType New value of property displayType.
66 */
67 public void setDisplayType(String displayType) {
68 this.displayType = displayType;
69 }
70
71
72 /***
73 * Getter for property displayType.
74 *
75 * @return Value of property displayTYpe.
76 */
77 public String getDisplayType() {
78 return this.displayType;
79 }
80
81
82 /***
83 * Setter for property foreignTable.
84 *
85 * @param foreignTable New value of property foreignTable.
86 */
87 public void setForeignTable(String foreignTable) {
88 this.foreignTable = foreignTable;
89 }
90
91
92 /***
93 * Getter for property foreignTable.
94 *
95 * @return Value of property foreignTable.
96 */
97 public String getForeignTable() {
98 return this.foreignTable;
99 }
100
101
102 /***
103 * Setter for property format.
104 *
105 * @param format New value of property format.
106 */
107 public void setFormat(String format) {
108 this.format = format;
109 }
110
111
112 /***
113 * Getter for property format.
114 *
115 * @return Value of property format.
116 */
117 public String getFormat() {
118 return this.format;
119 }
120
121
122 /***
123 * Setter for property id.
124 *
125 * @param id New value of property id.
126 */
127 public void setId(int id) {
128 this.id = id;
129 }
130
131
132 /***
133 * Getter for property id.
134 *
135 * @return Value of property id.
136 */
137 public int getId() {
138 return this.id;
139 }
140
141
142 /***
143 * Setter for property name.
144 *
145 * @param name New value of property name.
146 */
147 public void setName(String name) {
148 this.name = name;
149 }
150
151
152 /***
153 * Getter for property name.
154 *
155 * @return Value of property name.
156 */
157 public String getName() {
158 return this.name;
159 }
160
161
162 /***
163 * Getter for property referencesVector.
164 *
165 * @return Value of property referencesVector.
166 */
167 public java.util.Vector getReferencesVector() {
168 return this.referencesVector;
169 }
170
171
172 /***
173 * Setter for property visibleFields.
174 *
175 * @param visibleFields New value of property visibleFields.
176 */
177 public void setVisibleFields(String visibleFields) {
178 this.visibleFields = visibleFields;
179 }
180
181
182 /***
183 * Getter for property visibleFields.
184 *
185 * @return Value of property visibleFields.
186 */
187 public String getVisibleFields() {
188 return this.visibleFields;
189 }
190
191
192 /***
193 * DOCUMENT ME!
194 *
195 * @param ref DOCUMENT ME!
196 */
197 public void addReference(Reference ref) {
198 referencesVector.add(ref);
199 }
200 }