1
2
3 package org.paneris.bibliomania.generated;
4
5
6 import org.melati.poem.Database;
7 import org.melati.poem.DefinitionSource;
8 import org.melati.poem.JdbcPersistent;
9 import org.melati.poem.Persistent;
10 import org.melati.poem.PoemException;
11 import org.paneris.bibliomania.BibliomaniaDatabaseTables;
12
13 import org.paneris.bibliomania.Board;
14
15 import org.paneris.melati.boards.model.BoardTable;
16
17
18
19
20
21
22
23
24 public class BoardTableBase<T extends Board> extends BoardTable<T> {
25
26
27
28
29
30
31
32
33
34
35
36
37 public BoardTableBase(
38 Database database, String name,
39 DefinitionSource definitionSource) throws PoemException {
40 super(database, name, definitionSource);
41 }
42
43
44
45
46
47
48
49
50 public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables() {
51 return (BibliomaniaDatabaseTables)getDatabase();
52 }
53
54
55
56
57
58
59
60 public void init() throws PoemException {
61 super.init();
62 }
63
64
65
66
67
68
69
70
71
72 public org.paneris.melati.boards.model.Board getBoardObject(Integer troid) {
73 return (org.paneris.melati.boards.model.Board)getObject(troid);
74 }
75
76
77
78
79
80
81
82
83
84 public org.paneris.melati.boards.model.Board getBoardObject(int troid) {
85 return (org.paneris.melati.boards.model.Board)getObject(troid);
86 }
87
88 protected JdbcPersistent _newPersistent() {
89 return new org.paneris.bibliomania.Board();
90 }
91 public int defaultDisplayOrder() {
92 return 1020;
93 }
94 }
95