1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.entity; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import javax.persistence.CascadeType; |
21 | |
import javax.persistence.Column; |
22 | |
import javax.persistence.Entity; |
23 | |
import javax.persistence.OneToMany; |
24 | |
import javax.persistence.Table; |
25 | |
|
26 | |
import org.kuali.student.common.entity.AttributeOwner; |
27 | |
import org.kuali.student.common.entity.BaseEntity; |
28 | |
|
29 | |
@Entity |
30 | |
@Table(name = "KSLU_CLU_INSTR") |
31 | 0 | public class CluInstructor extends BaseEntity implements AttributeOwner<CluInstructorAttribute> { |
32 | |
|
33 | |
@Column(name = "ORG_ID") |
34 | |
private String orgId; |
35 | |
|
36 | |
@Column(name = "PERS_ID") |
37 | |
private String personId; |
38 | |
|
39 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
40 | |
private List<CluInstructorAttribute> attributes; |
41 | |
|
42 | |
public String getOrgId() { |
43 | 0 | return orgId; |
44 | |
} |
45 | |
|
46 | |
public void setOrgId(String orgId) { |
47 | 0 | this.orgId = orgId; |
48 | 0 | } |
49 | |
|
50 | |
public String getPersonId() { |
51 | 0 | return personId; |
52 | |
} |
53 | |
|
54 | |
public void setPersonId(String personId) { |
55 | 0 | this.personId = personId; |
56 | 0 | } |
57 | |
|
58 | |
public List<CluInstructorAttribute> getAttributes() { |
59 | 0 | return attributes; |
60 | |
} |
61 | |
|
62 | |
public void setAttributes(List<CluInstructorAttribute> attributes) { |
63 | 0 | this.attributes = attributes; |
64 | 0 | } |
65 | |
|
66 | |
} |