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