1 | |
package org.kuali.student.enrollment.class1.lrc.model; |
2 | |
|
3 | |
import org.kuali.student.r2.common.entity.BaseAttributeEntity; |
4 | |
import org.kuali.student.r2.common.infc.Attribute; |
5 | |
|
6 | |
import javax.persistence.Entity; |
7 | |
import javax.persistence.JoinColumn; |
8 | |
import javax.persistence.ManyToOne; |
9 | |
import javax.persistence.Table; |
10 | |
|
11 | 0 | @Entity |
12 | |
@Table(name = "KSEN_LRC_RES_VALUE_ATTR") |
13 | |
public class ResultValueAttributeEntity extends BaseAttributeEntity<ResultValueEntity> { |
14 | |
|
15 | |
@ManyToOne |
16 | |
@JoinColumn(name = "OWNER") |
17 | |
private ResultValueEntity owner; |
18 | |
|
19 | 0 | public ResultValueAttributeEntity() {} |
20 | |
|
21 | |
public ResultValueAttributeEntity(String key, String value) { |
22 | 0 | super(key, value); |
23 | 0 | } |
24 | |
|
25 | |
public ResultValueAttributeEntity(Attribute att) { |
26 | 0 | super(att); |
27 | 0 | } |
28 | |
|
29 | |
@Override |
30 | |
public void setOwner(ResultValueEntity owner) { |
31 | 0 | this.owner = owner; |
32 | 0 | } |
33 | |
|
34 | |
@Override |
35 | |
public ResultValueEntity getOwner() { |
36 | 0 | return owner; |
37 | |
} |
38 | |
} |