View Javadoc

1   // Do not edit this file!  It was generated by Melati POEM's DSD preprocessor.
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  * Melati POEM generated Database base class.
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   * Retrieves the GroupTable table.
202   *
203   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
204   * @return the GroupTable from this database
205   */
206   public GroupTable<Group> getGroupTable() {
207     return tab_group;
208   }
209 
210 
211  /**
212   * Retrieves the CapabilityTable table.
213   *
214   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
215   * @return the CapabilityTable from this database
216   */
217   public CapabilityTable<Capability> getCapabilityTable() {
218     return tab_capability;
219   }
220 
221 
222  /**
223   * Retrieves the GroupMembershipTable table.
224   *
225   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
226   * @return the GroupMembershipTable from this database
227   */
228   public GroupMembershipTable<GroupMembership> getGroupMembershipTable() {
229     return tab_groupmembership;
230   }
231 
232 
233  /**
234   * Retrieves the GroupCapabilityTable table.
235   *
236   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
237   * @return the GroupCapabilityTable from this database
238   */
239   public GroupCapabilityTable<GroupCapability> getGroupCapabilityTable() {
240     return tab_groupcapability;
241   }
242 
243 
244  /**
245   * Retrieves the TableCategoryTable table.
246   *
247   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
248   * @return the TableCategoryTable from this database
249   */
250   public TableCategoryTable<TableCategory> getTableCategoryTable() {
251     return tab_tablecategory;
252   }
253 
254 
255  /**
256   * Retrieves the TableInfoTable table.
257   *
258   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
259   * @return the TableInfoTable from this database
260   */
261   public TableInfoTable<TableInfo> getTableInfoTable() {
262     return tab_tableinfo;
263   }
264 
265 
266 
267  /**
268   * Retrieves the ColumnInfoTable table.
269   *
270   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
271   * @return the ColumnInfoTable from this database
272   */
273   public ColumnInfoTable<ColumnInfo> getColumnInfoTable() {
274     return tab_columninfo;
275   }
276 
277 
278  /**
279   * Retrieves the MembershipStatusTable table.
280   *
281   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
282   * @return the MembershipStatusTable from this database
283   */
284   public MembershipStatusTable<MembershipStatus> getMembershipStatusTable() {
285     return tab_membershipstatus;
286   }
287 
288 
289  /**
290   * Retrieves the SubscriptionTable table.
291   *
292   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
293   * @return the SubscriptionTable from this database
294   */
295   public SubscriptionTable<Subscription> getSubscriptionTable() {
296     return tab_subscription;
297   }
298 
299 
300  /**
301   * Retrieves the MessageTable table.
302   *
303   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
304   * @return the MessageTable from this database
305   */
306   public MessageTable<Message> getMessageTable() {
307     return tab_message;
308   }
309 
310 
311  /**
312   * Retrieves the AttachmentTypeTable table.
313   *
314   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
315   * @return the AttachmentTypeTable from this database
316   */
317   public AttachmentTypeTable<AttachmentType> getAttachmentTypeTable() {
318     return tab_attachmenttype;
319   }
320 
321 
322  /**
323   * Retrieves the AttachmentTable table.
324   *
325   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
326   * @return the AttachmentTable from this database
327   */
328   public AttachmentTable<Attachment> getAttachmentTable() {
329     return tab_attachment;
330   }
331 
332 
333  /**
334   * Retrieves the SettingTable table.
335   *
336   * Deprecated: use getBoardsSettingTable
337   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
338   * @return the org.melati.poem.SettingTable from this database
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   * Retrieves our (Boards) SettingTable table.
347   *
348   * see org.melati.poem.prepro.TableDef#generateSubclassedTableAccessorDeclaration 
349   * @return the org.melati.poem.SettingTable from this database
350   */
351   public SettingTable<Setting> getBoardsSettingTable() {
352     return tab_setting;
353   }
354 
355 
356  /**
357   * Retrieves the BoardTypeTable table.
358   *
359   * Deprecated: use getBibliomaniaBoardTypeTable
360   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
361   * @return the org.paneris.melati.boards.model.BoardTypeTable from this database
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   * Retrieves our (Bibliomania) BoardTypeTable table.
370   *
371   * see org.melati.poem.prepro.TableDef#generateSubclassedTableAccessorDeclaration 
372   * @return the org.paneris.melati.boards.model.BoardTypeTable from this database
373   */
374   public BoardTypeTable<BoardType> getBibliomaniaBoardTypeTable() {
375     return tab_boardtype;
376   }
377 
378 
379  /**
380   * Retrieves the BoardTable table.
381   *
382   * Deprecated: use getBibliomaniaBoardTable
383   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
384   * @return the org.paneris.melati.boards.model.BoardTable from this database
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   * Retrieves our (Bibliomania) BoardTable table.
393   *
394   * see org.melati.poem.prepro.TableDef#generateSubclassedTableAccessorDeclaration 
395   * @return the org.paneris.melati.boards.model.BoardTable from this database
396   */
397   public BoardTable<Board> getBibliomaniaBoardTable() {
398     return tab_board;
399   }
400 
401 
402  /**
403   * Retrieves the LayoutTable table.
404   *
405   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
406   * @return the LayoutTable from this database
407   */
408   public LayoutTable<Layout> getLayoutTable() {
409     return tab_layout;
410   }
411 
412 
413 
414  /**
415   * Retrieves the SectionGroupTable table.
416   *
417   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
418   * @return the SectionGroupTable from this database
419   */
420   public SectionGroupTable<SectionGroup> getSectionGroupTable() {
421     return tab_sectiongroup;
422   }
423 
424 
425  /**
426   * Retrieves the SectionTable table.
427   *
428   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
429   * @return the SectionTable from this database
430   */
431   public SectionTable<Section> getSectionTable() {
432     return tab_section;
433   }
434 
435 
436  /**
437   * Retrieves the AdvertTable table.
438   *
439   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
440   * @return the AdvertTable from this database
441   */
442   public AdvertTable<Advert> getAdvertTable() {
443     return tab_advert;
444   }
445 
446 
447  /**
448   * Retrieves the AuthorTable table.
449   *
450   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
451   * @return the AuthorTable from this database
452   */
453   public AuthorTable<Author> getAuthorTable() {
454     return tab_author;
455   }
456 
457 
458  /**
459   * Retrieves the AuthorWebSiteTable table.
460   *
461   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
462   * @return the AuthorWebSiteTable from this database
463   */
464   public AuthorWebSiteTable<AuthorWebSite> getAuthorWebSiteTable() {
465     return tab_authorwebsite;
466   }
467 
468 
469  /**
470   * Retrieves the BookTable table.
471   *
472   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
473   * @return the BookTable from this database
474   */
475   public BookTable<Book> getBookTable() {
476     return tab_book;
477   }
478 
479 
480  /**
481   * Retrieves the ChapterTable table.
482   *
483   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
484   * @return the ChapterTable from this database
485   */
486   public ChapterTable<Chapter> getChapterTable() {
487     return tab_chapter;
488   }
489 
490 
491  /**
492   * Retrieves the PublisherTable table.
493   *
494   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
495   * @return the PublisherTable from this database
496   */
497   public PublisherTable<Publisher> getPublisherTable() {
498     return tab_publisher;
499   }
500 
501 
502  /**
503   * Retrieves the DownloadTable table.
504   *
505   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
506   * @return the DownloadTable from this database
507   */
508   public DownloadTable<Download> getDownloadTable() {
509     return tab_download;
510   }
511 
512 
513  /**
514   * Retrieves the BookFormatTable table.
515   *
516   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
517   * @return the BookFormatTable from this database
518   */
519   public BookFormatTable<BookFormat> getBookFormatTable() {
520     return tab_bookformat;
521   }
522 
523 
524  /**
525   * Retrieves the ProductTable table.
526   *
527   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
528   * @return the ProductTable from this database
529   */
530   public ProductTable<Product> getProductTable() {
531     return tab_product;
532   }
533 
534 
535  /**
536   * Retrieves the ProductAssociationTable table.
537   *
538   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
539   * @return the ProductAssociationTable from this database
540   */
541   public ProductAssociationTable<ProductAssociation> getProductAssociationTable() {
542     return tab_productassociation;
543   }
544 
545 
546  /**
547   * Retrieves the SupplierTable table.
548   *
549   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
550   * @return the SupplierTable from this database
551   */
552   public SupplierTable<Supplier> getSupplierTable() {
553     return tab_supplier;
554   }
555 
556 
557  /**
558   * Retrieves the DeliveryChargeBandTable table.
559   *
560   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
561   * @return the DeliveryChargeBandTable from this database
562   */
563   public DeliveryChargeBandTable<DeliveryChargeBand> getDeliveryChargeBandTable() {
564     return tab_deliverychargeband;
565   }
566 
567 
568  /**
569   * Retrieves the DeliveryChargeTable table.
570   *
571   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
572   * @return the DeliveryChargeTable from this database
573   */
574   public DeliveryChargeTable<DeliveryCharge> getDeliveryChargeTable() {
575     return tab_deliverycharge;
576   }
577 
578 
579  /**
580   * Retrieves the SupplierProductTable table.
581   *
582   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
583   * @return the SupplierProductTable from this database
584   */
585   public SupplierProductTable<SupplierProduct> getSupplierProductTable() {
586     return tab_supplierproduct;
587   }
588 
589 
590  /**
591   * Retrieves the CurrencyTable table.
592   *
593   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
594   * @return the CurrencyTable from this database
595   */
596   public CurrencyTable<Currency> getCurrencyTable() {
597     return tab_currency;
598   }
599 
600 
601  /**
602   * Retrieves the DownloadEventTable table.
603   *
604   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
605   * @return the DownloadEventTable from this database
606   */
607   public DownloadEventTable<DownloadEvent> getDownloadEventTable() {
608     return tab_downloadevent;
609   }
610 
611 
612  /**
613   * Retrieves the OrderStatusTable table.
614   *
615   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
616   * @return the OrderStatusTable from this database
617   */
618   public OrderStatusTable<OrderStatus> getOrderStatusTable() {
619     return tab_orderstatus;
620   }
621 
622 
623  /**
624   * Retrieves the CountryTable table.
625   *
626   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
627   * @return the CountryTable from this database
628   */
629   public CountryTable<Country> getCountryTable() {
630     return tab_country;
631   }
632 
633 
634  /**
635   * Retrieves the ShopOrderTable table.
636   *
637   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
638   * @return the ShopOrderTable from this database
639   */
640   public ShopOrderTable<ShopOrder> getShopOrderTable() {
641     return tab_shoporder;
642   }
643 
644 
645  /**
646   * Retrieves the ShopOrderItemTable table.
647   *
648   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
649   * @return the ShopOrderItemTable from this database
650   */
651   public ShopOrderItemTable<ShopOrderItem> getShopOrderItemTable() {
652     return tab_shoporderitem;
653   }
654 
655 
656  /**
657   * Retrieves the BookshopTable table.
658   *
659   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
660   * @return the BookshopTable from this database
661   */
662   public BookshopTable<Bookshop> getBookshopTable() {
663     return tab_bookshop;
664   }
665 
666 
667  /**
668   * Retrieves the BookStockingTable table.
669   *
670   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
671   * @return the BookStockingTable from this database
672   */
673   public BookStockingTable<BookStocking> getBookStockingTable() {
674     return tab_bookstocking;
675   }
676 
677 
678  /**
679   * Retrieves the StockingsSearchTable table.
680   *
681   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
682   * @return the StockingsSearchTable from this database
683   */
684   public StockingsSearchTable<StockingsSearch> getStockingsSearchTable() {
685     return tab_stockingssearch;
686   }
687 
688 
689  /**
690   * Retrieves the SexTable table.
691   *
692   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
693   * @return the SexTable from this database
694   */
695   public SexTable<Sex> getSexTable() {
696     return tab_sex;
697   }
698 
699 
700  /**
701   * Retrieves the CampaignTable table.
702   *
703   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
704   * @return the CampaignTable from this database
705   */
706   public CampaignTable<Campaign> getCampaignTable() {
707     return tab_campaign;
708   }
709 
710 
711  /**
712   * Retrieves the CampaignUserTable table.
713   *
714   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
715   * @return the CampaignUserTable from this database
716   */
717   public CampaignUserTable<CampaignUser> getCampaignUserTable() {
718     return tab_campaignuser;
719   }
720 
721 
722  /**
723   * Retrieves the UserTable table.
724   *
725   * Deprecated: use getBibliomaniaUserTable
726   * see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
727   * @return the org.melati.poem.UserTable from this database
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   * Retrieves our (Bibliomania) UserTable table.
736   *
737   * see org.melati.poem.prepro.TableDef#generateSubclassedTableAccessorDeclaration 
738   * @return the org.melati.poem.UserTable from this database
739   */
740   public UserTable<User> getBibliomaniaUserTable() {
741     return tab_user;
742   }
743 }
744 
745