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