1 package com.instantbank.component.job.util;
2
3 import java.io.Serializable;
4
5
13 public class Alias
14 implements Serializable {
15
18 private String tableAlias;
19
22 private String rootType;
23
26 private String description;
27
30 private String realTable;
31
32
36 private String fieldCategory;
37
38
42 private String parentTableAlias;
43
44
48 private String parentJoinColumn;
49
50
54 private String sonJoinColumn;
55
56
61 private String joinType;
62
63
68 private String builtTable;
69
70
71
85 public Alias(String tableAlias, String rootType, String description,
86 String realTable, String fieldCategory, String parentTableAlias,
87 String parentJoinColumn, String sonJoinColumn, String joinType,
88 String builtTable) {
89 this.tableAlias = tableAlias;
90 this.rootType = rootType;
91 this.description = description;
92 this.realTable = realTable;
93 this.fieldCategory = fieldCategory;
94 this.parentTableAlias = parentTableAlias;
95 this.parentJoinColumn = parentJoinColumn;
96 this.sonJoinColumn = sonJoinColumn;
97 this.joinType = joinType;
98 this.builtTable = builtTable;
99 }
100
101
102
103
108 public String getTableAlias() {
109 return (this.tableAlias);
110 }
111
112
113
118 public String getRootType() {
119 return (this.rootType);
120 }
121
122
123
128 public String getDescription() {
129 return (this.description);
130 }
131
132
133
138 public String getRealTable() {
139 return (this.realTable);
140 }
141
142
143
148 public String getFieldCategory() {
149 return (this.fieldCategory);
150 }
151
152
153
158 public String getParentTableAlias() {
159 return (this.parentTableAlias);
160 }
161
162
163
168 public String getParentJoinColumn() {
169 return (this.parentJoinColumn);
170 }
171
172
173
178 public String getSonJoinColumn() {
179 return (this.sonJoinColumn);
180 }
181
182
183
188 public String getJoinType() {
189 return (this.joinType);
190 }
191
192
193
198 public String getBuiltTable() {
199 return (this.builtTable);
200 }
201
202
203
204
209 public String toString() {
210
211 StringBuffer toString = new StringBuffer();
212 toString.append("\ntableAlias = ");
213 toString.append(tableAlias);
214 toString.append("\nrootType = ");
215 toString.append(rootType);
216 toString.append("\ndescription = ");
217 toString.append(description);
218 toString.append("\nrealTable = ");
219 toString.append(realTable);
220 toString.append("\nfieldCategory = ");
221 toString.append(fieldCategory);
222 toString.append("\nparentTableAlias = ");
223 toString.append(parentTableAlias);
224 toString.append("\nparentJoinColumn = ");
225 toString.append(parentJoinColumn);
226 toString.append("\nsonJoinColumn = ");
227 toString.append(sonJoinColumn);
228 toString.append("\njoinType = ");
229 toString.append(joinType);
230 toString.append("\nbuiltTable = ");
231 toString.append(builtTable);
232 toString.append("\n");
233
234 return new String(toString);
235 }
236
237 }
238