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.LuiPersonRelationTransactionItem; |
13 | |
import org.kuali.student.enrollment.lpr.infc.LuiPersonRelationTransactionItemResult; |
14 | |
import org.kuali.student.enrollment.lpr.infc.RequestOption; |
15 | |
import org.kuali.student.r2.common.dto.EntityInfo; |
16 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
17 | |
import org.kuali.student.r2.common.infc.Attribute; |
18 | |
import org.kuali.student.r2.common.infc.Meta; |
19 | |
import org.kuali.student.r2.common.infc.RichText; |
20 | |
import org.w3c.dom.Element; |
21 | |
|
22 | |
@XmlAccessorType(XmlAccessType.FIELD) |
23 | |
@XmlType(name = "LuiPersonRelationTransactionItemInfo", propOrder = {"typeKey", "stateKey", "personId", |
24 | |
"newLuiId", "existingLuiId", "requestOptions", "lprTransactionItemResult", "meta", "attributes", "_futureElements"}) |
25 | |
public class LuiPersonRelationTransactionItemInfo extends EntityInfo implements LuiPersonRelationTransactionItem, |
26 | |
Serializable { |
27 | |
|
28 | |
private static final long serialVersionUID = 1L; |
29 | |
|
30 | |
@XmlElement |
31 | |
private String personId; |
32 | |
|
33 | |
@XmlElement |
34 | |
private String newLuiId; |
35 | |
|
36 | |
@XmlElement |
37 | |
private String existingLuiId; |
38 | |
|
39 | |
@XmlElement |
40 | |
private List<RequestOption> requestOptions; |
41 | |
|
42 | |
@XmlElement |
43 | |
private LuiPersonRelationTransactionItemResult lprTransactionItemResult; |
44 | |
|
45 | |
@XmlAnyElement |
46 | |
private List<Element> _futureElements; |
47 | |
|
48 | |
public LuiPersonRelationTransactionItemInfo() { |
49 | 0 | super(); |
50 | 0 | this.personId = null; |
51 | 0 | this.newLuiId = null; |
52 | 0 | this.existingLuiId = null; |
53 | 0 | this.requestOptions = null; |
54 | 0 | this._futureElements = null; |
55 | 0 | } |
56 | |
|
57 | |
public LuiPersonRelationTransactionItemInfo(LuiPersonRelationTransactionItem luiPersonRelationTransactionItem) { |
58 | |
|
59 | 0 | super(luiPersonRelationTransactionItem); |
60 | 0 | if (null != luiPersonRelationTransactionItem) { |
61 | 0 | this.personId = luiPersonRelationTransactionItem.getPersonId(); |
62 | 0 | this.newLuiId = luiPersonRelationTransactionItem.getNewLuiId(); |
63 | 0 | this.existingLuiId = luiPersonRelationTransactionItem.getExistingLuiId(); |
64 | 0 | this.requestOptions = luiPersonRelationTransactionItem.getRequestOptions(); |
65 | 0 | this._futureElements = null; |
66 | |
} |
67 | 0 | } |
68 | |
|
69 | |
@Override |
70 | |
public LuiPersonRelationTransactionItemResult getLprTransactionItemResult() { |
71 | 0 | return lprTransactionItemResult; |
72 | |
} |
73 | |
|
74 | |
public void setLprTransactionResult(LuiPersonRelationTransactionItemResult lprTransactionResult) { |
75 | 0 | this.lprTransactionItemResult = lprTransactionResult; |
76 | 0 | } |
77 | |
|
78 | |
@Override |
79 | |
public List<RequestOption> getRequestOptions() { |
80 | 0 | return requestOptions; |
81 | |
} |
82 | |
|
83 | |
public void setRequestOptions(List<RequestOption> requestOptions) { |
84 | 0 | this.requestOptions = requestOptions; |
85 | 0 | } |
86 | |
|
87 | |
public void setNewLuiId(String newLuiId) { |
88 | 0 | this.newLuiId = newLuiId; |
89 | 0 | } |
90 | |
|
91 | |
public void setExistingLuiId(String existingLuiId) { |
92 | 0 | this.existingLuiId = existingLuiId; |
93 | 0 | } |
94 | |
|
95 | |
@Override |
96 | |
public String getNewLuiId() { |
97 | 0 | return newLuiId; |
98 | |
} |
99 | |
|
100 | |
@Override |
101 | |
public String getExistingLuiId() { |
102 | 0 | return existingLuiId; |
103 | |
} |
104 | |
|
105 | |
@Override |
106 | |
public String getPersonId() { |
107 | 0 | return personId; |
108 | |
} |
109 | |
|
110 | |
public void setPersonId(String personId) { |
111 | 0 | this.personId = personId; |
112 | 0 | } |
113 | |
|
114 | |
} |