1 | |
package org.kuali.student.enrollment.class1.lrc.model; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
import org.kuali.student.r2.common.entity.BaseAttributeEntity; |
14 | |
import org.kuali.student.r2.common.infc.Attribute; |
15 | |
|
16 | |
import javax.persistence.Entity; |
17 | |
import javax.persistence.JoinColumn; |
18 | |
import javax.persistence.ManyToOne; |
19 | |
import javax.persistence.Table; |
20 | |
|
21 | |
import org.kuali.student.r2.common.entity.BaseAttributeEntity; |
22 | |
import org.kuali.student.r2.common.infc.Attribute; |
23 | |
|
24 | |
import javax.persistence.Entity; |
25 | |
import javax.persistence.JoinColumn; |
26 | |
import javax.persistence.ManyToOne; |
27 | |
import javax.persistence.Table; |
28 | |
|
29 | 0 | @Entity |
30 | |
@Table(name = "KSEN_LRC_RES_VAL_GRP_ATTR") |
31 | |
public class ResultValuesGroupAttributeEntity extends BaseAttributeEntity<ResultValuesGroupEntity> { |
32 | |
|
33 | |
@ManyToOne |
34 | |
@JoinColumn(name = "OWNER") |
35 | |
private ResultValuesGroupEntity owner; |
36 | |
|
37 | 0 | public ResultValuesGroupAttributeEntity() {} |
38 | |
|
39 | |
public ResultValuesGroupAttributeEntity(String key, String value) { |
40 | 0 | super(key, value); |
41 | 0 | } |
42 | |
|
43 | |
public ResultValuesGroupAttributeEntity(Attribute att) { |
44 | 0 | super(att); |
45 | 0 | } |
46 | |
|
47 | |
@Override |
48 | |
public void setOwner(ResultValuesGroupEntity owner) { |
49 | 0 | this.owner = owner; |
50 | 0 | } |
51 | |
|
52 | |
@Override |
53 | |
public ResultValuesGroupEntity getOwner() { |
54 | 0 | return owner; |
55 | |
} |
56 | |
} |