1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.data.jpa.testbo;
17
18 import javax.persistence.Column;
19 import javax.persistence.Entity;
20 import javax.persistence.Id;
21 import javax.persistence.Table;
22
23 import org.kuali.rice.krad.data.provider.annotation.BusinessKey;
24 import org.kuali.rice.krad.data.provider.annotation.Label;
25
26 @Entity
27 @Table(name = "KRTST_TEST_REF_OBJ_T")
28 public class ReferencedDataObject {
29
30 @Id
31 @Column(name = "STR_PROP")
32 String stringProperty;
33 @Column(name = "OTHER_STR_PROP")
34 @BusinessKey
35 @Label("RDOs Business Key")
36 String someOtherStringProperty;
37
38 public String getStringProperty() {
39 return stringProperty;
40 }
41
42 public void setStringProperty(String stringProperty) {
43 this.stringProperty = stringProperty;
44 }
45
46 public String getSomeOtherStringProperty() {
47 return someOtherStringProperty;
48 }
49
50 public void setSomeOtherStringProperty(String someOtherStringProperty) {
51 this.someOtherStringProperty = someOtherStringProperty;
52 }
53
54 }