1
2
3 package org.melati.util.test.generated;
4
5 import org.melati.poem.PoemDatabase;
6 import org.melati.poem.DefinitionSource;
7 import org.melati.poem.UserTable;
8 import org.melati.poem.GroupTable;
9 import org.melati.poem.CapabilityTable;
10 import org.melati.poem.GroupMembershipTable;
11 import org.melati.poem.GroupCapabilityTable;
12 import org.melati.poem.TableCategoryTable;
13 import org.melati.poem.TableInfoTable;
14 import org.melati.poem.ColumnInfoTable;
15 import org.melati.poem.SettingTable;
16 import org.melati.util.test.NodeTable;
17
18
19
20
21 public class TreeDatabaseBase extends PoemDatabase {
22
23 private UserTable tab_user = null;
24 private GroupTable tab_group = null;
25 private CapabilityTable tab_capability = null;
26 private GroupMembershipTable tab_groupmembership = null;
27 private GroupCapabilityTable tab_groupcapability = null;
28 private TableCategoryTable tab_tablecategory = null;
29 private TableInfoTable tab_tableinfo = null;
30 private ColumnInfoTable tab_columninfo = null;
31 private SettingTable tab_setting = null;
32 private NodeTable tab_node = null;
33
34 protected TreeDatabaseBase() {
35 redefineTable(tab_user = new UserTable(this, "user", DefinitionSource.dsd));
36 redefineTable(tab_group = new GroupTable(this, "group", DefinitionSource.dsd));
37 redefineTable(tab_capability = new CapabilityTable(this, "capability", DefinitionSource.dsd));
38 redefineTable(tab_groupmembership = new GroupMembershipTable(this, "groupmembership", DefinitionSource.dsd));
39 redefineTable(tab_groupcapability = new GroupCapabilityTable(this, "groupcapability", DefinitionSource.dsd));
40 redefineTable(tab_tablecategory = new TableCategoryTable(this, "tablecategory", DefinitionSource.dsd));
41 redefineTable(tab_tableinfo = new TableInfoTable(this, "tableinfo", DefinitionSource.dsd));
42 redefineTable(tab_columninfo = new ColumnInfoTable(this, "columninfo", DefinitionSource.dsd));
43 redefineTable(tab_setting = new SettingTable(this, "setting", DefinitionSource.dsd));
44 redefineTable(tab_node = new NodeTable(this, "node", DefinitionSource.dsd));
45 }
46
47
48
49
50
51
52
53
54 public UserTable getUserTable() {
55 return tab_user;
56 }
57
58
59
60
61
62
63
64
65 public GroupTable getGroupTable() {
66 return tab_group;
67 }
68
69
70
71
72
73
74
75
76 public CapabilityTable getCapabilityTable() {
77 return tab_capability;
78 }
79
80
81
82
83
84
85
86
87 public GroupMembershipTable getGroupMembershipTable() {
88 return tab_groupmembership;
89 }
90
91
92
93
94
95
96
97
98 public GroupCapabilityTable getGroupCapabilityTable() {
99 return tab_groupcapability;
100 }
101
102
103
104
105
106
107
108
109 public TableCategoryTable getTableCategoryTable() {
110 return tab_tablecategory;
111 }
112
113
114
115
116
117
118
119
120 public TableInfoTable getTableInfoTable() {
121 return tab_tableinfo;
122 }
123
124
125
126
127
128
129
130
131
132 public ColumnInfoTable getColumnInfoTable() {
133 return tab_columninfo;
134 }
135
136
137
138
139
140
141
142
143 public SettingTable getSettingTable() {
144 return tab_setting;
145 }
146
147
148
149
150
151
152
153
154 public NodeTable getNodeTable() {
155 return tab_node;
156 }
157 }
158
159