1
2
3
4
5
6
7 package org.asyrinx.joey.gen.model.rdb;
8
9 import org.asyrinx.joey.gen.model.ElementSet;
10
11 /***
12 * @author akima
13 */
14 public class TableSet extends ElementSet {
15
16 /***
17 *
18 */
19 public TableSet(Database database) {
20 super(database);
21 }
22
23
24
25
26
27
28 public boolean isEntity() {
29 return false;
30 }
31
32
33
34
35
36
37 public void add(Table table) {
38 super.add(table);
39 }
40
41
42
43
44
45
46 public boolean contains(Table table) {
47 return super.contains(table);
48 }
49
50
51
52
53
54
55 public Table getTable(int index) {
56 return (Table) super.getElement(index);
57 }
58
59
60
61
62
63
64 public Table getTable(String name) {
65 return (Table) super.getElement(name);
66 }
67
68
69
70
71
72
73 public Table removeTable(String name) {
74 return (Table) super.removeElement(name);
75 }
76
77 }