1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
package org.kuali.student.r2.lum.lu.dto; |
13 | |
|
14 | |
import org.kuali.student.r2.common.dto.HasAttributesInfo; |
15 | |
import org.kuali.student.r2.lum.lu.infc.CluInstructor; |
16 | |
import org.w3c.dom.Element; |
17 | |
|
18 | |
import javax.xml.bind.annotation.XmlAccessType; |
19 | |
import javax.xml.bind.annotation.XmlAccessorType; |
20 | |
import javax.xml.bind.annotation.XmlAnyElement; |
21 | |
import javax.xml.bind.annotation.XmlElement; |
22 | |
import javax.xml.bind.annotation.XmlType; |
23 | |
import java.io.Serializable; |
24 | |
import java.util.List; |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
30 | |
@XmlType(name = "CluInstructorInfo", propOrder = {"orgId", "personId", |
31 | |
"personInfoOverride", "attributes", "_futureElements"}) |
32 | |
public class CluInstructorInfo extends HasAttributesInfo implements CluInstructor, Serializable { |
33 | |
|
34 | |
private static final long serialVersionUID = 1L; |
35 | |
|
36 | |
@XmlElement |
37 | |
private String orgId; |
38 | |
@XmlElement |
39 | |
private String personId; |
40 | |
@XmlElement |
41 | |
private String personInfoOverride; |
42 | |
@XmlAnyElement |
43 | |
private List<Element> _futureElements; |
44 | |
|
45 | 0 | public CluInstructorInfo() { |
46 | 0 | } |
47 | |
|
48 | |
public CluInstructorInfo(CluInstructor cluInstructor) { |
49 | 0 | super(cluInstructor); |
50 | 0 | if (cluInstructor != null) { |
51 | 0 | this.orgId = cluInstructor.getOrgId(); |
52 | 0 | this.personId = cluInstructor.getPersonId(); |
53 | 0 | this.personInfoOverride = cluInstructor.getPersonInfoOverride(); |
54 | |
} |
55 | 0 | } |
56 | |
|
57 | |
@Override |
58 | |
public String getOrgId() { |
59 | 0 | return orgId; |
60 | |
} |
61 | |
|
62 | |
public void setOrgId(String orgId) { |
63 | 0 | this.orgId = orgId; |
64 | 0 | } |
65 | |
|
66 | |
@Override |
67 | |
public String getPersonId() { |
68 | 0 | return personId; |
69 | |
} |
70 | |
|
71 | |
public void setPersonId(String personId) { |
72 | 0 | this.personId = personId; |
73 | 0 | } |
74 | |
|
75 | |
@Override |
76 | |
public String getPersonInfoOverride() { |
77 | 0 | return personInfoOverride; |
78 | |
} |
79 | |
|
80 | |
public void setPersonInfoOverride(String personInfoOverride) { |
81 | 0 | this.personInfoOverride = personInfoOverride; |
82 | 0 | } |
83 | |
} |