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.SpecialisedTable;
17  import org.melati.admin.test.UserTable;
18  
19  /**
20   * Melati POEM generated Database base class.
21   */
22  public class AdminTestDatabaseBase extends PoemDatabase {
23  
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 UploadedFileTable tab_uploadedfile = null;
33    private SpecialisedTable tab_specialised = null;
34    private UserTable tab_user = null;
35  
36    protected AdminTestDatabaseBase() {
37      redefineTable(tab_group = new GroupTable(this, "group", DefinitionSource.dsd));
38      redefineTable(tab_capability = new CapabilityTable(this, "capability", DefinitionSource.dsd));
39      redefineTable(tab_groupmembership = new GroupMembershipTable(this, "groupmembership", DefinitionSource.dsd));
40      redefineTable(tab_groupcapability = new GroupCapabilityTable(this, "groupcapability", DefinitionSource.dsd));
41      redefineTable(tab_tablecategory = new TableCategoryTable(this, "tablecategory", DefinitionSource.dsd));
42      redefineTable(tab_tableinfo = new TableInfoTable(this, "tableinfo", DefinitionSource.dsd));
43      redefineTable(tab_columninfo = new ColumnInfoTable(this, "columninfo", DefinitionSource.dsd));
44      redefineTable(tab_setting = new SettingTable(this, "setting", DefinitionSource.dsd));
45      redefineTable(tab_uploadedfile = new UploadedFileTable(this, "uploadedfile", DefinitionSource.dsd));
46      redefineTable(tab_specialised = new SpecialisedTable(this, "specialised", DefinitionSource.dsd));
47      redefineTable(tab_user = new UserTable(this, "user", DefinitionSource.dsd));
48    }
49  
50  
51   /**
52    * Retrieves the GroupTable table.
53    *
54    * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
55    * @return the GroupTable from this database
56    */
57    public GroupTable getGroupTable() {
58      return tab_group;
59    }
60  
61  
62   /**
63    * Retrieves the CapabilityTable table.
64    *
65    * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
66    * @return the CapabilityTable from this database
67    */
68    public CapabilityTable getCapabilityTable() {
69      return tab_capability;
70    }
71  
72  
73   /**
74    * Retrieves the GroupMembershipTable table.
75    *
76    * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
77    * @return the GroupMembershipTable from this database
78    */
79    public GroupMembershipTable getGroupMembershipTable() {
80      return tab_groupmembership;
81    }
82  
83  
84   /**
85    * Retrieves the GroupCapabilityTable table.
86    *
87    * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
88    * @return the GroupCapabilityTable from this database
89    */
90    public GroupCapabilityTable getGroupCapabilityTable() {
91      return tab_groupcapability;
92    }
93  
94  
95   /**
96    * Retrieves the TableCategoryTable table.
97    *
98    * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
99    * @return the TableCategoryTable from this database
100   */
101   public TableCategoryTable getTableCategoryTable() {
102     return tab_tablecategory;
103   }
104 
105 
106  /**
107   * Retrieves the TableInfoTable table.
108   *
109   * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
110   * @return the TableInfoTable from this database
111   */
112   public TableInfoTable getTableInfoTable() {
113     return tab_tableinfo;
114   }
115 
116 
117 
118  /**
119   * Retrieves the ColumnInfoTable table.
120   *
121   * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
122   * @return the ColumnInfoTable from this database
123   */
124   public ColumnInfoTable getColumnInfoTable() {
125     return tab_columninfo;
126   }
127 
128 
129  /**
130   * Retrieves the SettingTable table.
131   *
132   * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
133   * @return the SettingTable from this database
134   */
135   public SettingTable getSettingTable() {
136     return tab_setting;
137   }
138 
139 
140  /**
141   * Retrieves the UploadedFileTable table.
142   *
143   * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
144   * @return the UploadedFileTable from this database
145   */
146   public UploadedFileTable getUploadedFileTable() {
147     return tab_uploadedfile;
148   }
149 
150 
151  /**
152   * Retrieves the SpecialisedTable table.
153   *
154   * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
155   * @return the SpecialisedTable from this database
156   */
157   public SpecialisedTable getSpecialisedTable() {
158     return tab_specialised;
159   }
160 
161 
162  /**
163   * Retrieves the UserTable table.
164   *
165   * @generator org.melati.poem.prepro.TableDef#generateTableAccessorJava 
166   * @return the org.melati.poem.UserTable from this database
167   */
168   public org.melati.poem.UserTable getUserTable() {
169     return tab_user;
170   }
171 }
172 
173