1   // Do not edit this file!  It was generated by Melati POEM's DSD preprocessor.
2   
3   package org.melati.admin.test.generated;
4   
5   import org.melati.poem.PoemDatabase;
6   import org.melati.poem.DefinitionSource;
7   import org.melati.poem.GroupTable;
8   import org.melati.poem.CapabilityTable;
9   import org.melati.poem.GroupMembershipTable;
10  import org.melati.poem.GroupCapabilityTable;
11  import org.melati.poem.TableCategoryTable;
12  import org.melati.poem.TableInfoTable;
13  import org.melati.poem.ColumnInfoTable;
14  import org.melati.poem.SettingTable;
15  import org.melati.admin.test.UploadedFileTable;
16  import org.melati.admin.test.UploadedImageTable;
17  import org.melati.admin.test.SpecialisedTable;
18  import org.melati.admin.test.MarkupTable;
19  import org.melati.admin.test.UserTable;
20  
21  /**
22   * Melati POEM generated Database base class.
23   */
24  public class AdminTestDatabaseBase extends PoemDatabase {
25  
26    private GroupTable tab_group = null;
27    private CapabilityTable tab_capability = null;
28    private GroupMembershipTable tab_groupmembership = null;
29    private GroupCapabilityTable tab_groupcapability = null;
30    private TableCategoryTable tab_tablecategory = null;
31    private TableInfoTable tab_tableinfo = null;
32    private ColumnInfoTable tab_columninfo = null;
33    private SettingTable tab_setting = null;
34    private UploadedFileTable tab_uploadedfile = null;
35    private UploadedImageTable tab_uploadedimage = null;
36    private SpecialisedTable tab_specialised = null;
37    private MarkupTable tab_markup = null;
38    private UserTable tab_user = null;
39  
40    protected AdminTestDatabaseBase() {
41      redefineTable(tab_group = new GroupTable(this, "group", DefinitionSource.dsd));
42      redefineTable(tab_capability = new CapabilityTable(this, "capability", DefinitionSource.dsd));
43      redefineTable(tab_groupmembership = new GroupMembershipTable(this, "groupmembership", DefinitionSource.dsd));
44      redefineTable(tab_groupcapability = new GroupCapabilityTable(this, "groupcapability", DefinitionSource.dsd));
45      redefineTable(tab_tablecategory = new TableCategoryTable(this, "tablecategory", DefinitionSource.dsd));
46      redefineTable(tab_tableinfo = new TableInfoTable(this, "tableinfo", DefinitionSource.dsd));
47      redefineTable(tab_columninfo = new ColumnInfoTable(this, "columninfo", DefinitionSource.dsd));
48      redefineTable(tab_setting = new SettingTable(this, "setting", DefinitionSource.dsd));
49      redefineTable(tab_uploadedfile = new UploadedFileTable(this, "uploadedfile", DefinitionSource.dsd));
50      redefineTable(tab_uploadedimage = new UploadedImageTable(this, "uploadedimage", DefinitionSource.dsd));
51      redefineTable(tab_specialised = new SpecialisedTable(this, "specialised", DefinitionSource.dsd));
52      redefineTable(tab_markup = new MarkupTable(this, "markup", DefinitionSource.dsd));
53      redefineTable(tab_user = new UserTable(this, "user", DefinitionSource.dsd));
54    }
55  
56  
57   /**
58    * Retrieves the GroupTable table.
59    *
60    * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
61    * @return the GroupTable from this database
62    */
63    public GroupTable getGroupTable() {
64      return tab_group;
65    }
66  
67  
68   /**
69    * Retrieves the CapabilityTable table.
70    *
71    * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
72    * @return the CapabilityTable from this database
73    */
74    public CapabilityTable getCapabilityTable() {
75      return tab_capability;
76    }
77  
78  
79   /**
80    * Retrieves the GroupMembershipTable table.
81    *
82    * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
83    * @return the GroupMembershipTable from this database
84    */
85    public GroupMembershipTable getGroupMembershipTable() {
86      return tab_groupmembership;
87    }
88  
89  
90   /**
91    * Retrieves the GroupCapabilityTable table.
92    *
93    * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
94    * @return the GroupCapabilityTable from this database
95    */
96    public GroupCapabilityTable getGroupCapabilityTable() {
97      return tab_groupcapability;
98    }
99  
100 
101  /**
102   * Retrieves the TableCategoryTable table.
103   *
104   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
105   * @return the TableCategoryTable from this database
106   */
107   public TableCategoryTable getTableCategoryTable() {
108     return tab_tablecategory;
109   }
110 
111 
112  /**
113   * Retrieves the TableInfoTable table.
114   *
115   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
116   * @return the TableInfoTable from this database
117   */
118   public TableInfoTable getTableInfoTable() {
119     return tab_tableinfo;
120   }
121 
122 
123 
124  /**
125   * Retrieves the ColumnInfoTable table.
126   *
127   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
128   * @return the ColumnInfoTable from this database
129   */
130   public ColumnInfoTable getColumnInfoTable() {
131     return tab_columninfo;
132   }
133 
134 
135  /**
136   * Retrieves the SettingTable table.
137   *
138   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
139   * @return the SettingTable from this database
140   */
141   public SettingTable getSettingTable() {
142     return tab_setting;
143   }
144 
145 
146  /**
147   * Retrieves the UploadedFileTable table.
148   *
149   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
150   * @return the UploadedFileTable from this database
151   */
152   public UploadedFileTable getUploadedFileTable() {
153     return tab_uploadedfile;
154   }
155 
156 
157  /**
158   * Retrieves the UploadedImageTable table.
159   *
160   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
161   * @return the UploadedImageTable from this database
162   */
163   public UploadedImageTable getUploadedImageTable() {
164     return tab_uploadedimage;
165   }
166 
167 
168  /**
169   * Retrieves the SpecialisedTable table.
170   *
171   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
172   * @return the SpecialisedTable from this database
173   */
174   public SpecialisedTable getSpecialisedTable() {
175     return tab_specialised;
176   }
177 
178 
179  /**
180   * Retrieves the MarkupTable table.
181   *
182   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
183   * @return the MarkupTable from this database
184   */
185   public MarkupTable getMarkupTable() {
186     return tab_markup;
187   }
188 
189 
190  /**
191   * Retrieves the UserTable table.
192   *
193   * @see org.melati.poem.prepro.TableDef#generateTableAccessorJava 
194   * @return the org.melati.poem.UserTable from this database
195   */
196   public org.melati.poem.UserTable getUserTable() {
197     return tab_user;
198   }
199 }
200 
201