1 | |
package org.kuali.student.enrollment.lpr.dto; |
2 | |
|
3 | |
import java.io.Serializable; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import javax.xml.bind.annotation.XmlAccessType; |
7 | |
import javax.xml.bind.annotation.XmlAccessorType; |
8 | |
import javax.xml.bind.annotation.XmlAnyElement; |
9 | |
import javax.xml.bind.annotation.XmlElement; |
10 | |
import javax.xml.bind.annotation.XmlType; |
11 | |
|
12 | |
import org.kuali.student.enrollment.lpr.infc.LuiPersonRelationRequest; |
13 | |
import org.kuali.student.enrollment.lpr.infc.RequestOption; |
14 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
15 | |
import org.w3c.dom.Element; |
16 | |
|
17 | |
@XmlAccessorType(XmlAccessType.FIELD) |
18 | |
@XmlType(name = "LuiPersonRelationRequestInfo", propOrder = {"id", "typeKey", "stateKey", "requestingPersonId", |
19 | |
"personId", "newLuiId", "existingLuiId", "requestOptions", "meta", |
20 | |
"attributes", "_futureElements"}) |
21 | |
|
22 | |
|
23 | |
public class LuiPersonRelationRequestInfo extends IdEntityInfo implements LuiPersonRelationRequest, Serializable { |
24 | |
|
25 | |
private static final long serialVersionUID = 1L; |
26 | |
@XmlElement |
27 | |
private String requestingPersonId; |
28 | |
@XmlElement |
29 | |
private String personId; |
30 | |
@XmlElement |
31 | |
private String newLuiId; |
32 | |
@XmlElement |
33 | |
private String existingLuiId; |
34 | |
@XmlElement |
35 | |
private List<RequestOption> requestOptions; |
36 | |
@XmlAnyElement |
37 | |
private List<Element> _futureElements; |
38 | |
|
39 | |
public LuiPersonRelationRequestInfo(LuiPersonRelationRequest luiPersonRelationRequest) { |
40 | 0 | super(luiPersonRelationRequest); |
41 | |
|
42 | 0 | if (null != luiPersonRelationRequest) { |
43 | 0 | this.requestingPersonId = luiPersonRelationRequest.getRequestingPersonId(); |
44 | 0 | this.personId = luiPersonRelationRequest.getPersonId(); |
45 | 0 | this.newLuiId = luiPersonRelationRequest.getNewLuiId(); |
46 | 0 | this.existingLuiId = luiPersonRelationRequest.getExistingLuiId(); |
47 | 0 | this.requestOptions = luiPersonRelationRequest.requestOptions(); |
48 | 0 | this._futureElements = null; |
49 | |
} |
50 | 0 | } |
51 | |
|
52 | |
public List<RequestOption> getRequestOptions() { |
53 | 0 | return requestOptions; |
54 | |
} |
55 | |
|
56 | |
public void setRequestOptions(List<RequestOption> requestOptions) { |
57 | 0 | this.requestOptions = requestOptions; |
58 | 0 | } |
59 | |
|
60 | |
public void setNewLuiId(String newLuiId) { |
61 | 0 | this.newLuiId = newLuiId; |
62 | 0 | } |
63 | |
|
64 | |
public void setExistingLuiId(String existingLuiId) { |
65 | 0 | this.existingLuiId = existingLuiId; |
66 | 0 | } |
67 | |
|
68 | |
@Override |
69 | |
public String getNewLuiId() { |
70 | 0 | return newLuiId; |
71 | |
} |
72 | |
|
73 | |
@Override |
74 | |
public String getExistingLuiId() { |
75 | 0 | return existingLuiId; |
76 | |
} |
77 | |
|
78 | |
@Override |
79 | |
public List<RequestOption> requestOptions() { |
80 | 0 | return requestOptions; |
81 | |
} |
82 | |
|
83 | |
@Override |
84 | |
public String getRequestingPersonId() { |
85 | 0 | return requestingPersonId; |
86 | |
} |
87 | |
|
88 | |
public void setRequestingPersonId(String requestingPersonId) { |
89 | 0 | this.requestingPersonId = requestingPersonId; |
90 | 0 | } |
91 | |
|
92 | |
@Override |
93 | |
public String getPersonId() { |
94 | 0 | return personId; |
95 | |
} |
96 | |
|
97 | |
public void setPersonId(String personId) { |
98 | 0 | this.personId = personId; |
99 | 0 | } |
100 | |
|
101 | |
} |