View Javadoc
1   /**
2    * Copyright 2005-2016 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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  }