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