1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
package org.kuali.student.r2.lum.clu.dto; |
13 | |
|
14 | |
import org.kuali.student.r2.common.dto.HasAttributesInfo; |
15 | |
import org.kuali.student.r2.lum.clu.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 = {"id", "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 id; |
38 | |
@XmlElement |
39 | |
private String orgId; |
40 | |
@XmlElement |
41 | |
private String personId; |
42 | |
@XmlElement |
43 | |
private String personInfoOverride; |
44 | |
@XmlAnyElement |
45 | |
private List<Element> _futureElements; |
46 | |
|
47 | 0 | public CluInstructorInfo() { |
48 | 0 | } |
49 | |
|
50 | |
public CluInstructorInfo(CluInstructor cluInstructor) { |
51 | 0 | super(cluInstructor); |
52 | 0 | if (cluInstructor != null) { |
53 | 0 | this.orgId = cluInstructor.getOrgId(); |
54 | 0 | this.personId = cluInstructor.getPersonId(); |
55 | 0 | this.personInfoOverride = cluInstructor.getPersonInfoOverride(); |
56 | |
} |
57 | 0 | } |
58 | |
|
59 | |
@Override |
60 | |
public String getId() { |
61 | 0 | return id; |
62 | |
} |
63 | |
|
64 | |
public void setId(String id) { |
65 | 0 | this.id = id; |
66 | 0 | } |
67 | |
|
68 | |
@Override |
69 | |
public String getOrgId() { |
70 | 0 | return orgId; |
71 | |
} |
72 | |
|
73 | |
public void setOrgId(String orgId) { |
74 | 0 | this.orgId = orgId; |
75 | 0 | } |
76 | |
|
77 | |
@Override |
78 | |
public String getPersonId() { |
79 | 0 | return personId; |
80 | |
} |
81 | |
|
82 | |
public void setPersonId(String personId) { |
83 | 0 | this.personId = personId; |
84 | 0 | } |
85 | |
|
86 | |
@Override |
87 | |
public String getPersonInfoOverride() { |
88 | 0 | return personInfoOverride; |
89 | |
} |
90 | |
|
91 | |
public void setPersonInfoOverride(String personInfoOverride) { |
92 | 0 | this.personInfoOverride = personInfoOverride; |
93 | 0 | } |
94 | |
} |