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