1
2
3 package org.paneris.bibliomania.generated;
4
5
6 import org.melati.poem.PoemDatabase;
7 import org.melati.poem.DefinitionSource;
8 import org.melati.poem.Group;
9 import org.melati.poem.GroupTable;
10 import org.melati.poem.Capability;
11 import org.melati.poem.CapabilityTable;
12 import org.melati.poem.GroupMembership;
13 import org.melati.poem.GroupMembershipTable;
14 import org.melati.poem.GroupCapability;
15 import org.melati.poem.GroupCapabilityTable;
16 import org.melati.poem.TableCategory;
17 import org.melati.poem.TableCategoryTable;
18 import org.melati.poem.TableInfo;
19 import org.melati.poem.TableInfoTable;
20 import org.melati.poem.ColumnInfo;
21 import org.melati.poem.ColumnInfoTable;
22 import org.paneris.melati.boards.model.MembershipStatus;
23 import org.paneris.melati.boards.model.MembershipStatusTable;
24 import org.paneris.melati.boards.model.Subscription;
25 import org.paneris.melati.boards.model.SubscriptionTable;
26 import org.paneris.melati.boards.model.Message;
27 import org.paneris.melati.boards.model.MessageTable;
28 import org.paneris.melati.boards.model.AttachmentType;
29 import org.paneris.melati.boards.model.AttachmentTypeTable;
30 import org.paneris.melati.boards.model.Attachment;
31 import org.paneris.melati.boards.model.AttachmentTable;
32 import org.paneris.melati.boards.model.Setting;
33 import org.paneris.melati.boards.model.SettingTable;
34 import org.paneris.bibliomania.BoardType;
35 import org.paneris.bibliomania.BoardTypeTable;
36 import org.paneris.bibliomania.Board;
37 import org.paneris.bibliomania.BoardTable;
38 import org.paneris.bibliomania.Layout;
39 import org.paneris.bibliomania.LayoutTable;
40 import org.paneris.bibliomania.SectionGroup;
41 import org.paneris.bibliomania.SectionGroupTable;
42 import org.paneris.bibliomania.Section;
43 import org.paneris.bibliomania.SectionTable;
44 import org.paneris.bibliomania.Advert;
45 import org.paneris.bibliomania.AdvertTable;
46 import org.paneris.bibliomania.Author;
47 import org.paneris.bibliomania.AuthorTable;
48 import org.paneris.bibliomania.AuthorWebSite;
49 import org.paneris.bibliomania.AuthorWebSiteTable;
50 import org.paneris.bibliomania.Book;
51 import org.paneris.bibliomania.BookTable;
52 import org.paneris.bibliomania.Chapter;
53 import org.paneris.bibliomania.ChapterTable;
54 import org.paneris.bibliomania.Publisher;
55 import org.paneris.bibliomania.PublisherTable;
56 import org.paneris.bibliomania.Download;
57 import org.paneris.bibliomania.DownloadTable;
58 import org.paneris.bibliomania.BookFormat;
59 import org.paneris.bibliomania.BookFormatTable;
60 import org.paneris.bibliomania.Product;
61 import org.paneris.bibliomania.ProductTable;
62 import org.paneris.bibliomania.ProductAssociation;
63 import org.paneris.bibliomania.ProductAssociationTable;
64 import org.paneris.bibliomania.Supplier;
65 import org.paneris.bibliomania.SupplierTable;
66 import org.paneris.bibliomania.DeliveryChargeBand;
67 import org.paneris.bibliomania.DeliveryChargeBandTable;
68 import org.paneris.bibliomania.DeliveryCharge;
69 import org.paneris.bibliomania.DeliveryChargeTable;
70 import org.paneris.bibliomania.SupplierProduct;
71 import org.paneris.bibliomania.SupplierProductTable;
72 import org.paneris.bibliomania.Currency;
73 import org.paneris.bibliomania.CurrencyTable;
74 import org.paneris.bibliomania.DownloadEvent;
75 import org.paneris.bibliomania.DownloadEventTable;
76 import org.paneris.bibliomania.OrderStatus;
77 import org.paneris.bibliomania.OrderStatusTable;
78 import org.paneris.bibliomania.Country;
79 import org.paneris.bibliomania.CountryTable;
80 import org.paneris.bibliomania.ShopOrder;
81 import org.paneris.bibliomania.ShopOrderTable;
82 import org.paneris.bibliomania.ShopOrderItem;
83 import org.paneris.bibliomania.ShopOrderItemTable;
84 import org.paneris.bibliomania.Bookshop;
85 import org.paneris.bibliomania.BookshopTable;
86 import org.paneris.bibliomania.BookStocking;
87 import org.paneris.bibliomania.BookStockingTable;
88 import org.paneris.bibliomania.StockingsSearch;
89 import org.paneris.bibliomania.StockingsSearchTable;
90 import org.paneris.bibliomania.Sex;
91 import org.paneris.bibliomania.SexTable;
92 import org.paneris.bibliomania.Campaign;
93 import org.paneris.bibliomania.CampaignTable;
94 import org.paneris.bibliomania.CampaignUser;
95 import org.paneris.bibliomania.CampaignUserTable;
96 import org.paneris.bibliomania.User;
97 import org.paneris.bibliomania.UserTable;
98
99
100
101
102 public class BibliomaniaDatabaseBase extends PoemDatabase {
103
104 private GroupTable<Group> tab_group = null;
105 private CapabilityTable<Capability> tab_capability = null;
106 private GroupMembershipTable<GroupMembership> tab_groupmembership = null;
107 private GroupCapabilityTable<GroupCapability> tab_groupcapability = null;
108 private TableCategoryTable<TableCategory> tab_tablecategory = null;
109 private TableInfoTable<TableInfo> tab_tableinfo = null;
110 private ColumnInfoTable<ColumnInfo> tab_columninfo = null;
111 private MembershipStatusTable<MembershipStatus> tab_membershipstatus = null;
112 private SubscriptionTable<Subscription> tab_subscription = null;
113 private MessageTable<Message> tab_message = null;
114 private AttachmentTypeTable<AttachmentType> tab_attachmenttype = null;
115 private AttachmentTable<Attachment> tab_attachment = null;
116 private SettingTable<Setting> tab_setting = null;
117 private BoardTypeTable<BoardType> tab_boardtype = null;
118 private BoardTable<Board> tab_board = null;
119 private LayoutTable<Layout> tab_layout = null;
120 private SectionGroupTable<SectionGroup> tab_sectiongroup = null;
121 private SectionTable<Section> tab_section = null;
122 private AdvertTable<Advert> tab_advert = null;
123 private AuthorTable<Author> tab_author = null;
124 private AuthorWebSiteTable<AuthorWebSite> tab_authorwebsite = null;
125 private BookTable<Book> tab_book = null;
126 private ChapterTable<Chapter> tab_chapter = null;
127 private PublisherTable<Publisher> tab_publisher = null;
128 private DownloadTable<Download> tab_download = null;
129 private BookFormatTable<BookFormat> tab_bookformat = null;
130 private ProductTable<Product> tab_product = null;
131 private ProductAssociationTable<ProductAssociation> tab_productassociation = null;
132 private SupplierTable<Supplier> tab_supplier = null;
133 private DeliveryChargeBandTable<DeliveryChargeBand> tab_deliverychargeband = null;
134 private DeliveryChargeTable<DeliveryCharge> tab_deliverycharge = null;
135 private SupplierProductTable<SupplierProduct> tab_supplierproduct = null;
136 private CurrencyTable<Currency> tab_currency = null;
137 private DownloadEventTable<DownloadEvent> tab_downloadevent = null;
138 private OrderStatusTable<OrderStatus> tab_orderstatus = null;
139 private CountryTable<Country> tab_country = null;
140 private ShopOrderTable<ShopOrder> tab_shoporder = null;
141 private ShopOrderItemTable<ShopOrderItem> tab_shoporderitem = null;
142 private BookshopTable<Bookshop> tab_bookshop = null;
143 private BookStockingTable<BookStocking> tab_bookstocking = null;
144 private StockingsSearchTable<StockingsSearch> tab_stockingssearch = null;
145 private SexTable<Sex> tab_sex = null;
146 private CampaignTable<Campaign> tab_campaign = null;
147 private CampaignUserTable<CampaignUser> tab_campaignuser = null;
148 private UserTable<User> tab_user = null;
149
150 @SuppressWarnings({ "unchecked", "rawtypes" })
151 protected BibliomaniaDatabaseBase() {
152 redefineTable(tab_group = new GroupTable<Group>(this, "group", DefinitionSource.dsd));
153 redefineTable(tab_capability = new CapabilityTable<Capability>(this, "capability", DefinitionSource.dsd));
154 redefineTable(tab_groupmembership = new GroupMembershipTable<GroupMembership>(this, "groupMembership", DefinitionSource.dsd));
155 redefineTable(tab_groupcapability = new GroupCapabilityTable<GroupCapability>(this, "groupCapability", DefinitionSource.dsd));
156 redefineTable(tab_tablecategory = new TableCategoryTable<TableCategory>(this, "tableCategory", DefinitionSource.dsd));
157 redefineTable(tab_tableinfo = new TableInfoTable<TableInfo>(this, "tableInfo", DefinitionSource.dsd));
158 redefineTable(tab_columninfo = new ColumnInfoTable<ColumnInfo>(this, "columnInfo", DefinitionSource.dsd));
159 redefineTable(tab_membershipstatus = new MembershipStatusTable<MembershipStatus>(this, "MembershipStatus", DefinitionSource.dsd));
160 redefineTable(tab_subscription = new SubscriptionTable<Subscription>(this, "Subscription", DefinitionSource.dsd));
161 redefineTable(tab_message = new MessageTable<Message>(this, "Message", DefinitionSource.dsd));
162 redefineTable(tab_attachmenttype = new AttachmentTypeTable<AttachmentType>(this, "AttachmentType", DefinitionSource.dsd));
163 redefineTable(tab_attachment = new AttachmentTable<Attachment>(this, "Attachment", DefinitionSource.dsd));
164 redefineTable(tab_setting = new org.paneris.melati.boards.model.SettingTable(this, "Setting", DefinitionSource.dsd));
165 redefineTable(tab_boardtype = new org.paneris.bibliomania.BoardTypeTable(this, "BoardType", DefinitionSource.dsd));
166 redefineTable(tab_board = new org.paneris.bibliomania.BoardTable(this, "Board", DefinitionSource.dsd));
167 redefineTable(tab_layout = new LayoutTable<Layout>(this, "Layout", DefinitionSource.dsd));
168 redefineTable(tab_sectiongroup = new SectionGroupTable<SectionGroup>(this, "SectionGroup", DefinitionSource.dsd));
169 redefineTable(tab_section = new SectionTable<Section>(this, "Section", DefinitionSource.dsd));
170 redefineTable(tab_advert = new AdvertTable<Advert>(this, "Advert", DefinitionSource.dsd));
171 redefineTable(tab_author = new AuthorTable<Author>(this, "Author", DefinitionSource.dsd));
172 redefineTable(tab_authorwebsite = new AuthorWebSiteTable<AuthorWebSite>(this, "AuthorWebSite", DefinitionSource.dsd));
173 redefineTable(tab_book = new BookTable<Book>(this, "Book", DefinitionSource.dsd));
174 redefineTable(tab_chapter = new ChapterTable<Chapter>(this, "Chapter", DefinitionSource.dsd));
175 redefineTable(tab_publisher = new PublisherTable<Publisher>(this, "Publisher", DefinitionSource.dsd));
176 redefineTable(tab_download = new DownloadTable<Download>(this, "Download", DefinitionSource.dsd));
177 redefineTable(tab_bookformat = new BookFormatTable<BookFormat>(this, "BookFormat", DefinitionSource.dsd));
178 redefineTable(tab_product = new ProductTable<Product>(this, "Product", DefinitionSource.dsd));
179 redefineTable(tab_productassociation = new ProductAssociationTable<ProductAssociation>(this, "ProductAssociation", DefinitionSource.dsd));
180 redefineTable(tab_supplier = new SupplierTable<Supplier>(this, "Supplier", DefinitionSource.dsd));
181 redefineTable(tab_deliverychargeband = new DeliveryChargeBandTable<DeliveryChargeBand>(this, "DeliveryChargeBand", DefinitionSource.dsd));
182 redefineTable(tab_deliverycharge = new DeliveryChargeTable<DeliveryCharge>(this, "DeliveryCharge", DefinitionSource.dsd));
183 redefineTable(tab_supplierproduct = new SupplierProductTable<SupplierProduct>(this, "SupplierProduct", DefinitionSource.dsd));
184 redefineTable(tab_currency = new CurrencyTable<Currency>(this, "Currency", DefinitionSource.dsd));
185 redefineTable(tab_downloadevent = new DownloadEventTable<DownloadEvent>(this, "DownloadEvent", DefinitionSource.dsd));
186 redefineTable(tab_orderstatus = new OrderStatusTable<OrderStatus>(this, "OrderStatus", DefinitionSource.dsd));
187 redefineTable(tab_country = new CountryTable<Country>(this, "Country", DefinitionSource.dsd));
188 redefineTable(tab_shoporder = new ShopOrderTable<ShopOrder>(this, "ShopOrder", DefinitionSource.dsd));
189 redefineTable(tab_shoporderitem = new ShopOrderItemTable<ShopOrderItem>(this, "ShopOrderItem", DefinitionSource.dsd));
190 redefineTable(tab_bookshop = new BookshopTable<Bookshop>(this, "Bookshop", DefinitionSource.dsd));
191 redefineTable(tab_bookstocking = new BookStockingTable<BookStocking>(this, "BookStocking", DefinitionSource.dsd));
192 redefineTable(tab_stockingssearch = new StockingsSearchTable<StockingsSearch>(this, "StockingsSearch", DefinitionSource.dsd));
193 redefineTable(tab_sex = new SexTable<Sex>(this, "Sex", DefinitionSource.dsd));
194 redefineTable(tab_campaign = new CampaignTable<Campaign>(this, "Campaign", DefinitionSource.dsd));
195 redefineTable(tab_campaignuser = new CampaignUserTable<CampaignUser>(this, "CampaignUser", DefinitionSource.dsd));
196 redefineTable(tab_user = new org.paneris.bibliomania.UserTable(this, "User", DefinitionSource.dsd));
197 }
198
199
200
201
202
203
204
205
206 public GroupTable<Group> getGroupTable() {
207 return tab_group;
208 }
209
210
211
212
213
214
215
216
217 public CapabilityTable<Capability> getCapabilityTable() {
218 return tab_capability;
219 }
220
221
222
223
224
225
226
227
228 public GroupMembershipTable<GroupMembership> getGroupMembershipTable() {
229 return tab_groupmembership;
230 }
231
232
233
234
235
236
237
238
239 public GroupCapabilityTable<GroupCapability> getGroupCapabilityTable() {
240 return tab_groupcapability;
241 }
242
243
244
245
246
247
248
249
250 public TableCategoryTable<TableCategory> getTableCategoryTable() {
251 return tab_tablecategory;
252 }
253
254
255
256
257
258
259
260
261 public TableInfoTable<TableInfo> getTableInfoTable() {
262 return tab_tableinfo;
263 }
264
265
266
267
268
269
270
271
272
273 public ColumnInfoTable<ColumnInfo> getColumnInfoTable() {
274 return tab_columninfo;
275 }
276
277
278
279
280
281
282
283
284 public MembershipStatusTable<MembershipStatus> getMembershipStatusTable() {
285 return tab_membershipstatus;
286 }
287
288
289
290
291
292
293
294
295 public SubscriptionTable<Subscription> getSubscriptionTable() {
296 return tab_subscription;
297 }
298
299
300
301
302
303
304
305
306 public MessageTable<Message> getMessageTable() {
307 return tab_message;
308 }
309
310
311
312
313
314
315
316
317 public AttachmentTypeTable<AttachmentType> getAttachmentTypeTable() {
318 return tab_attachmenttype;
319 }
320
321
322
323
324
325
326
327
328 public AttachmentTable<Attachment> getAttachmentTable() {
329 return tab_attachment;
330 }
331
332
333
334
335
336
337
338
339
340 @SuppressWarnings({ "rawtypes", "unchecked" })
341 public org.melati.poem.SettingTable<org.melati.poem.Setting> getSettingTable() {
342 return (org.melati.poem.SettingTable)tab_setting;
343 }
344
345
346
347
348
349
350
351 public SettingTable<Setting> getBoardsSettingTable() {
352 return tab_setting;
353 }
354
355
356
357
358
359
360
361
362
363 @SuppressWarnings({ "rawtypes", "unchecked" })
364 public org.paneris.melati.boards.model.BoardTypeTable<org.paneris.melati.boards.model.BoardType> getBoardTypeTable() {
365 return (org.paneris.melati.boards.model.BoardTypeTable)tab_boardtype;
366 }
367
368
369
370
371
372
373
374 public BoardTypeTable<BoardType> getBibliomaniaBoardTypeTable() {
375 return tab_boardtype;
376 }
377
378
379
380
381
382
383
384
385
386 @SuppressWarnings({ "rawtypes", "unchecked" })
387 public org.paneris.melati.boards.model.BoardTable<org.paneris.melati.boards.model.Board> getBoardTable() {
388 return (org.paneris.melati.boards.model.BoardTable)tab_board;
389 }
390
391
392
393
394
395
396
397 public BoardTable<Board> getBibliomaniaBoardTable() {
398 return tab_board;
399 }
400
401
402
403
404
405
406
407
408 public LayoutTable<Layout> getLayoutTable() {
409 return tab_layout;
410 }
411
412
413
414
415
416
417
418
419
420 public SectionGroupTable<SectionGroup> getSectionGroupTable() {
421 return tab_sectiongroup;
422 }
423
424
425
426
427
428
429
430
431 public SectionTable<Section> getSectionTable() {
432 return tab_section;
433 }
434
435
436
437
438
439
440
441
442 public AdvertTable<Advert> getAdvertTable() {
443 return tab_advert;
444 }
445
446
447
448
449
450
451
452
453 public AuthorTable<Author> getAuthorTable() {
454 return tab_author;
455 }
456
457
458
459
460
461
462
463
464 public AuthorWebSiteTable<AuthorWebSite> getAuthorWebSiteTable() {
465 return tab_authorwebsite;
466 }
467
468
469
470
471
472
473
474
475 public BookTable<Book> getBookTable() {
476 return tab_book;
477 }
478
479
480
481
482
483
484
485
486 public ChapterTable<Chapter> getChapterTable() {
487 return tab_chapter;
488 }
489
490
491
492
493
494
495
496
497 public PublisherTable<Publisher> getPublisherTable() {
498 return tab_publisher;
499 }
500
501
502
503
504
505
506
507
508 public DownloadTable<Download> getDownloadTable() {
509 return tab_download;
510 }
511
512
513
514
515
516
517
518
519 public BookFormatTable<BookFormat> getBookFormatTable() {
520 return tab_bookformat;
521 }
522
523
524
525
526
527
528
529
530 public ProductTable<Product> getProductTable() {
531 return tab_product;
532 }
533
534
535
536
537
538
539
540
541 public ProductAssociationTable<ProductAssociation> getProductAssociationTable() {
542 return tab_productassociation;
543 }
544
545
546
547
548
549
550
551
552 public SupplierTable<Supplier> getSupplierTable() {
553 return tab_supplier;
554 }
555
556
557
558
559
560
561
562
563 public DeliveryChargeBandTable<DeliveryChargeBand> getDeliveryChargeBandTable() {
564 return tab_deliverychargeband;
565 }
566
567
568
569
570
571
572
573
574 public DeliveryChargeTable<DeliveryCharge> getDeliveryChargeTable() {
575 return tab_deliverycharge;
576 }
577
578
579
580
581
582
583
584
585 public SupplierProductTable<SupplierProduct> getSupplierProductTable() {
586 return tab_supplierproduct;
587 }
588
589
590
591
592
593
594
595
596 public CurrencyTable<Currency> getCurrencyTable() {
597 return tab_currency;
598 }
599
600
601
602
603
604
605
606
607 public DownloadEventTable<DownloadEvent> getDownloadEventTable() {
608 return tab_downloadevent;
609 }
610
611
612
613
614
615
616
617
618 public OrderStatusTable<OrderStatus> getOrderStatusTable() {
619 return tab_orderstatus;
620 }
621
622
623
624
625
626
627
628
629 public CountryTable<Country> getCountryTable() {
630 return tab_country;
631 }
632
633
634
635
636
637
638
639
640 public ShopOrderTable<ShopOrder> getShopOrderTable() {
641 return tab_shoporder;
642 }
643
644
645
646
647
648
649
650
651 public ShopOrderItemTable<ShopOrderItem> getShopOrderItemTable() {
652 return tab_shoporderitem;
653 }
654
655
656
657
658
659
660
661
662 public BookshopTable<Bookshop> getBookshopTable() {
663 return tab_bookshop;
664 }
665
666
667
668
669
670
671
672
673 public BookStockingTable<BookStocking> getBookStockingTable() {
674 return tab_bookstocking;
675 }
676
677
678
679
680
681
682
683
684 public StockingsSearchTable<StockingsSearch> getStockingsSearchTable() {
685 return tab_stockingssearch;
686 }
687
688
689
690
691
692
693
694
695 public SexTable<Sex> getSexTable() {
696 return tab_sex;
697 }
698
699
700
701
702
703
704
705
706 public CampaignTable<Campaign> getCampaignTable() {
707 return tab_campaign;
708 }
709
710
711
712
713
714
715
716
717 public CampaignUserTable<CampaignUser> getCampaignUserTable() {
718 return tab_campaignuser;
719 }
720
721
722
723
724
725
726
727
728
729 @SuppressWarnings({ "rawtypes", "unchecked" })
730 public org.melati.poem.UserTable<org.melati.poem.User> getUserTable() {
731 return (org.melati.poem.UserTable)tab_user;
732 }
733
734
735
736
737
738
739
740 public UserTable<User> getBibliomaniaUserTable() {
741 return tab_user;
742 }
743 }
744
745