1
2
3
4
5
6
7 package org.asyrinx.joey.gen.model.rdb;
8
9 import org.asyrinx.joey.gen.model.Element;
10
11 /***
12 * @author takeshi
13 */
14 public class PrimaryKeyEntry extends Element {
15
16 /***
17 * @param parent
18 * @param name
19 */
20 public PrimaryKeyEntry(PrimaryKey parent, Column column) {
21 super(parent, column.getName());
22 this.column = column;
23 }
24
25
26
27
28
29
30 public PrimaryKey getParent() {
31 return (PrimaryKey) super.getParentElement();
32 }
33
34 private final Column column;
35
36 /***
37 * @return Returns the column.
38 */
39 public Column getColumn() {
40 return column;
41 }
42 }