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 IndexSet extends ElementSet {
15
16 /***
17 *
18 */
19 public IndexSet(Table table) {
20 super(table);
21 }
22
23
24
25
26
27
28 public boolean isEntity() {
29 return false;
30 }
31
32 public void add(Index index) {
33 super.add(index);
34 }
35
36
37
38
39
40
41 public boolean contains(Index index) {
42 return super.contains(index);
43 }
44
45
46
47
48
49
50 public Index getIndex(String name) {
51 return (Index) super.getElement(name);
52 }
53
54
55
56
57
58
59 public Index getIndex(int index) {
60 return (Index) super.getElement(index);
61 }
62
63
64
65
66
67
68 public Index removeIndex(String name) {
69 return (Index) super.removeElement(name);
70 }
71 }