1
2
3 package org.paneris.jammyjoes.model.generated;
4
5 import org.melati.poem.PoemDatabase;
6 import org.melati.poem.DefinitionSource;
7 import org.melati.poem.GroupTable;
8 import org.melati.poem.CapabilityTable;
9 import org.melati.poem.GroupMembershipTable;
10 import org.melati.poem.GroupCapabilityTable;
11 import org.melati.poem.TableCategoryTable;
12 import org.melati.poem.TableInfoTable;
13 import org.melati.poem.ColumnInfoTable;
14 import org.melati.poem.SettingTable;
15 import org.paneris.jammyjoes.model.ProductTable;
16 import org.paneris.jammyjoes.model.SupplierTable;
17 import org.paneris.jammyjoes.model.ManufacturerTable;
18 import org.paneris.jammyjoes.model.StockTransactionTable;
19 import org.paneris.jammyjoes.model.AwardTable;
20 import org.paneris.jammyjoes.model.ShopOrderTable;
21 import org.paneris.jammyjoes.model.ShopOrderItemTable;
22 import org.paneris.jammyjoes.model.AffiliateTable;
23 import org.paneris.jammyjoes.model.AffiliateTransactionTable;
24 import org.paneris.jammyjoes.model.TypeTable;
25 import org.paneris.jammyjoes.model.SexTable;
26 import org.paneris.jammyjoes.model.OrderTypeTable;
27 import org.paneris.jammyjoes.model.StockTransactionTypeTable;
28 import org.paneris.jammyjoes.model.DeliveryZoneTable;
29 import org.paneris.jammyjoes.model.DeliveryChargeTable;
30 import org.paneris.jammyjoes.model.DeliveryCarrierTable;
31 import org.paneris.jammyjoes.model.OrderStatusTable;
32 import org.paneris.jammyjoes.model.ProductStatusTable;
33 import org.paneris.jammyjoes.model.EcentiveCategoryTable;
34 import org.paneris.jammyjoes.model.WrappingTable;
35 import org.paneris.jammyjoes.model.ShopCurrencyTable;
36 import org.paneris.jammyjoes.model.AgeTable;
37 import org.paneris.jammyjoes.model.UserTable;
38
39 /**
40 * Melati POEM generated Database base class.
41 */
42 public class JammyjoesDatabaseBase extends PoemDatabase {
43
44 private GroupTable tab_group = null;
45 private CapabilityTable tab_capability = null;
46 private GroupMembershipTable tab_groupmembership = null;
47 private GroupCapabilityTable tab_groupcapability = null;
48 private TableCategoryTable tab_tablecategory = null;
49 private TableInfoTable tab_tableinfo = null;
50 private ColumnInfoTable tab_columninfo = null;
51 private SettingTable tab_setting = null;
52 private ProductTable tab_product = null;
53 private SupplierTable tab_supplier = null;
54 private ManufacturerTable tab_manufacturer = null;
55 private StockTransactionTable tab_stocktransaction = null;
56 private AwardTable tab_award = null;
57 private ShopOrderTable tab_shoporder = null;
58 private ShopOrderItemTable tab_shoporderitem = null;
59 private AffiliateTable tab_affiliate = null;
60 private AffiliateTransactionTable tab_affiliatetransaction = null;
61 private TypeTable tab_type = null;
62 private SexTable tab_sex = null;
63 private OrderTypeTable tab_ordertype = null;
64 private StockTransactionTypeTable tab_stocktransactiontype = null;
65 private DeliveryZoneTable tab_deliveryzone = null;
66 private DeliveryChargeTable tab_deliverycharge = null;
67 private DeliveryCarrierTable tab_deliverycarrier = null;
68 private OrderStatusTable tab_orderstatus = null;
69 private ProductStatusTable tab_productstatus = null;
70 private EcentiveCategoryTable tab_ecentivecategory = null;
71 private WrappingTable tab_wrapping = null;
72 private ShopCurrencyTable tab_shopcurrency = null;
73 private AgeTable tab_age = null;
74 private UserTable tab_user = null;
75
76 protected JammyjoesDatabaseBase() {
77 redefineTable(tab_group = new GroupTable(this, "group", DefinitionSource.dsd));
78 redefineTable(tab_capability = new CapabilityTable(this, "capability", DefinitionSource.dsd));
79 redefineTable(tab_groupmembership = new GroupMembershipTable(this, "groupmembership", DefinitionSource.dsd));
80 redefineTable(tab_groupcapability = new GroupCapabilityTable(this, "groupcapability", DefinitionSource.dsd));
81 redefineTable(tab_tablecategory = new TableCategoryTable(this, "tablecategory", DefinitionSource.dsd));
82 redefineTable(tab_tableinfo = new TableInfoTable(this, "tableinfo", DefinitionSource.dsd));
83 redefineTable(tab_columninfo = new ColumnInfoTable(this, "columninfo", DefinitionSource.dsd));
84 redefineTable(tab_setting = new SettingTable(this, "setting", DefinitionSource.dsd));
85 redefineTable(tab_product = new ProductTable(this, "product", DefinitionSource.dsd));
86 redefineTable(tab_supplier = new SupplierTable(this, "supplier", DefinitionSource.dsd));
87 redefineTable(tab_manufacturer = new ManufacturerTable(this, "manufacturer", DefinitionSource.dsd));
88 redefineTable(tab_stocktransaction = new StockTransactionTable(this, "stocktransaction", DefinitionSource.dsd));
89 redefineTable(tab_award = new AwardTable(this, "award", DefinitionSource.dsd));
90 redefineTable(tab_shoporder = new ShopOrderTable(this, "shoporder", DefinitionSource.dsd));
91 redefineTable(tab_shoporderitem = new ShopOrderItemTable(this, "shoporderitem", DefinitionSource.dsd));
92 redefineTable(tab_affiliate = new AffiliateTable(this, "affiliate", DefinitionSource.dsd));
93 redefineTable(tab_affiliatetransaction = new AffiliateTransactionTable(this, "affiliatetransaction", DefinitionSource.dsd));
94 redefineTable(tab_type = new TypeTable(this, "type", DefinitionSource.dsd));
95 redefineTable(tab_sex = new SexTable(this, "sex", DefinitionSource.dsd));
96 redefineTable(tab_ordertype = new OrderTypeTable(this, "ordertype", DefinitionSource.dsd));
97 redefineTable(tab_stocktransactiontype = new StockTransactionTypeTable(this, "stocktransactiontype", DefinitionSource.dsd));
98 redefineTable(tab_deliveryzone = new DeliveryZoneTable(this, "deliveryzone", DefinitionSource.dsd));
99 redefineTable(tab_deliverycharge = new DeliveryChargeTable(this, "deliverycharge", DefinitionSource.dsd));
100 redefineTable(tab_deliverycarrier = new DeliveryCarrierTable(this, "deliverycarrier", DefinitionSource.dsd));
101 redefineTable(tab_orderstatus = new OrderStatusTable(this, "orderstatus", DefinitionSource.dsd));
102 redefineTable(tab_productstatus = new ProductStatusTable(this, "productstatus", DefinitionSource.dsd));
103 redefineTable(tab_ecentivecategory = new EcentiveCategoryTable(this, "ecentivecategory", DefinitionSource.dsd));
104 redefineTable(tab_wrapping = new WrappingTable(this, "wrapping", DefinitionSource.dsd));
105 redefineTable(tab_shopcurrency = new ShopCurrencyTable(this, "shopcurrency", DefinitionSource.dsd));
106 redefineTable(tab_age = new AgeTable(this, "age", DefinitionSource.dsd));
107 redefineTable(tab_user = new UserTable(this, "user", DefinitionSource.dsd));
108 }
109
110
111 /**
112 * Retrieves the GroupTable table.
113 *
114 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
115 * @return the GroupTable from this database
116 */
117 public GroupTable getGroupTable() {
118 return tab_group;
119 }
120
121
122 /**
123 * Retrieves the CapabilityTable table.
124 *
125 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
126 * @return the CapabilityTable from this database
127 */
128 public CapabilityTable getCapabilityTable() {
129 return tab_capability;
130 }
131
132
133 /**
134 * Retrieves the GroupMembershipTable table.
135 *
136 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
137 * @return the GroupMembershipTable from this database
138 */
139 public GroupMembershipTable getGroupMembershipTable() {
140 return tab_groupmembership;
141 }
142
143
144 /**
145 * Retrieves the GroupCapabilityTable table.
146 *
147 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
148 * @return the GroupCapabilityTable from this database
149 */
150 public GroupCapabilityTable getGroupCapabilityTable() {
151 return tab_groupcapability;
152 }
153
154
155 /**
156 * Retrieves the TableCategoryTable table.
157 *
158 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
159 * @return the TableCategoryTable from this database
160 */
161 public TableCategoryTable getTableCategoryTable() {
162 return tab_tablecategory;
163 }
164
165
166 /**
167 * Retrieves the TableInfoTable table.
168 *
169 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
170 * @return the TableInfoTable from this database
171 */
172 public TableInfoTable getTableInfoTable() {
173 return tab_tableinfo;
174 }
175
176
177
178 /**
179 * Retrieves the ColumnInfoTable table.
180 *
181 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
182 * @return the ColumnInfoTable from this database
183 */
184 public ColumnInfoTable getColumnInfoTable() {
185 return tab_columninfo;
186 }
187
188
189 /**
190 * Retrieves the SettingTable table.
191 *
192 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
193 * @return the SettingTable from this database
194 */
195 public SettingTable getSettingTable() {
196 return tab_setting;
197 }
198
199
200 /**
201 * Retrieves the ProductTable table.
202 *
203 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
204 * @return the ProductTable from this database
205 */
206 public ProductTable getProductTable() {
207 return tab_product;
208 }
209
210
211 /**
212 * Retrieves the SupplierTable table.
213 *
214 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
215 * @return the SupplierTable from this database
216 */
217 public SupplierTable getSupplierTable() {
218 return tab_supplier;
219 }
220
221
222 /**
223 * Retrieves the ManufacturerTable table.
224 *
225 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
226 * @return the ManufacturerTable from this database
227 */
228 public ManufacturerTable getManufacturerTable() {
229 return tab_manufacturer;
230 }
231
232
233 /**
234 * Retrieves the StockTransactionTable table.
235 *
236 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
237 * @return the StockTransactionTable from this database
238 */
239 public StockTransactionTable getStockTransactionTable() {
240 return tab_stocktransaction;
241 }
242
243
244 /**
245 * Retrieves the AwardTable table.
246 *
247 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
248 * @return the AwardTable from this database
249 */
250 public AwardTable getAwardTable() {
251 return tab_award;
252 }
253
254
255 /**
256 * Retrieves the ShopOrderTable table.
257 *
258 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
259 * @return the ShopOrderTable from this database
260 */
261 public ShopOrderTable getShopOrderTable() {
262 return tab_shoporder;
263 }
264
265
266 /**
267 * Retrieves the ShopOrderItemTable table.
268 *
269 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
270 * @return the ShopOrderItemTable from this database
271 */
272 public ShopOrderItemTable getShopOrderItemTable() {
273 return tab_shoporderitem;
274 }
275
276
277 /**
278 * Retrieves the AffiliateTable table.
279 *
280 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
281 * @return the AffiliateTable from this database
282 */
283 public AffiliateTable getAffiliateTable() {
284 return tab_affiliate;
285 }
286
287
288 /**
289 * Retrieves the AffiliateTransactionTable table.
290 *
291 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
292 * @return the AffiliateTransactionTable from this database
293 */
294 public AffiliateTransactionTable getAffiliateTransactionTable() {
295 return tab_affiliatetransaction;
296 }
297
298
299 /**
300 * Retrieves the TypeTable table.
301 *
302 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
303 * @return the TypeTable from this database
304 */
305 public TypeTable getTypeTable() {
306 return tab_type;
307 }
308
309
310 /**
311 * Retrieves the SexTable table.
312 *
313 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
314 * @return the SexTable from this database
315 */
316 public SexTable getSexTable() {
317 return tab_sex;
318 }
319
320
321 /**
322 * Retrieves the OrderTypeTable table.
323 *
324 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
325 * @return the OrderTypeTable from this database
326 */
327 public OrderTypeTable getOrderTypeTable() {
328 return tab_ordertype;
329 }
330
331
332 /**
333 * Retrieves the StockTransactionTypeTable table.
334 *
335 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
336 * @return the StockTransactionTypeTable from this database
337 */
338 public StockTransactionTypeTable getStockTransactionTypeTable() {
339 return tab_stocktransactiontype;
340 }
341
342
343 /**
344 * Retrieves the DeliveryZoneTable table.
345 *
346 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
347 * @return the DeliveryZoneTable from this database
348 */
349 public DeliveryZoneTable getDeliveryZoneTable() {
350 return tab_deliveryzone;
351 }
352
353
354 /**
355 * Retrieves the DeliveryChargeTable table.
356 *
357 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
358 * @return the DeliveryChargeTable from this database
359 */
360 public DeliveryChargeTable getDeliveryChargeTable() {
361 return tab_deliverycharge;
362 }
363
364
365 /**
366 * Retrieves the DeliveryCarrierTable table.
367 *
368 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
369 * @return the DeliveryCarrierTable from this database
370 */
371 public DeliveryCarrierTable getDeliveryCarrierTable() {
372 return tab_deliverycarrier;
373 }
374
375
376 /**
377 * Retrieves the OrderStatusTable table.
378 *
379 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
380 * @return the OrderStatusTable from this database
381 */
382 public OrderStatusTable getOrderStatusTable() {
383 return tab_orderstatus;
384 }
385
386
387 /**
388 * Retrieves the ProductStatusTable table.
389 *
390 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
391 * @return the ProductStatusTable from this database
392 */
393 public ProductStatusTable getProductStatusTable() {
394 return tab_productstatus;
395 }
396
397
398 /**
399 * Retrieves the EcentiveCategoryTable table.
400 *
401 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
402 * @return the EcentiveCategoryTable from this database
403 */
404 public EcentiveCategoryTable getEcentiveCategoryTable() {
405 return tab_ecentivecategory;
406 }
407
408
409 /**
410 * Retrieves the WrappingTable table.
411 *
412 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
413 * @return the WrappingTable from this database
414 */
415 public WrappingTable getWrappingTable() {
416 return tab_wrapping;
417 }
418
419
420 /**
421 * Retrieves the ShopCurrencyTable table.
422 *
423 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
424 * @return the ShopCurrencyTable from this database
425 */
426 public ShopCurrencyTable getShopCurrencyTable() {
427 return tab_shopcurrency;
428 }
429
430
431 /**
432 * Retrieves the AgeTable table.
433 *
434 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
435 * @return the AgeTable from this database
436 */
437 public AgeTable getAgeTable() {
438 return tab_age;
439 }
440
441
442 /**
443 * Retrieves the UserTable table.
444 *
445 * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava
446 * @return the org.melati.poem.UserTable from this database
447 */
448 public org.melati.poem.UserTable getUserTable() {
449 return tab_user;
450 }
451 }
452
453