1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.krad.test.conference;
18
19 import org.kuali.rice.krad.data.provider.annotation.ExtensionFor;
20
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.JoinColumn;
25 import javax.persistence.OneToOne;
26 import javax.persistence.Table;
27
28 @Entity
29 @Table(name = "KRTST_CONF_LBL_EXT_T")
30 @ExtensionFor(Label.class)
31 public class LabelExtension {
32
33 @Id
34 @OneToOne
35 @JoinColumn(name = "NM")
36 private Label label;
37
38 @Column(name = "EXTRA")
39 private String extra;
40
41 public Label getLabel() {
42 return label;
43 }
44
45 public void setLabel(Label label) {
46 this.label = label;
47 }
48
49 public String getExtra() {
50 return extra;
51 }
52
53 public void setExtra(String extra) {
54 this.extra = extra;
55 }
56 }