1 | |
package org.kuali.student.enrollment.registration.course.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.registration.course.infc.RegGroupRegistration; |
13 | |
import org.kuali.student.r2.common.dto.RelationshipInfo; |
14 | |
import org.kuali.student.r2.common.infc.Attribute; |
15 | |
import org.kuali.student.r2.common.infc.Meta; |
16 | |
import org.kuali.student.r2.common.infc.RichText; |
17 | |
import org.w3c.dom.Element; |
18 | |
|
19 | |
|
20 | |
@XmlAccessorType(XmlAccessType.FIELD) |
21 | |
@XmlType(name = "RegGroupRegistrationInfo", propOrder = {"id", "typeKey", "stateKey", "regGroupId", "studentId", |
22 | |
"effectiveDate", "expirationDate", "meta", "attributes", "_futureElements"}) |
23 | |
public class RegGroupRegistrationInfo extends RelationshipInfo implements RegGroupRegistration, Serializable { |
24 | |
|
25 | |
private static final long serialVersionUID = 1L; |
26 | |
|
27 | |
@XmlElement |
28 | |
private String regGroupId; |
29 | |
@XmlElement |
30 | |
private String studentId; |
31 | |
@XmlAnyElement |
32 | |
private List<Element> _futureElements; |
33 | |
|
34 | |
|
35 | |
public RegGroupRegistrationInfo() { |
36 | 0 | super(); |
37 | 0 | this.regGroupId = null; |
38 | 0 | this.studentId = null; |
39 | 0 | this._futureElements = null; |
40 | 0 | } |
41 | |
|
42 | |
public RegGroupRegistrationInfo(RegGroupRegistration regGroupRegistration) { |
43 | 0 | super(regGroupRegistration); |
44 | |
|
45 | 0 | if (null != regGroupRegistration) { |
46 | 0 | this.regGroupId = regGroupRegistration.getRegGroupId(); |
47 | 0 | this.studentId = regGroupRegistration.getRegGroupId(); |
48 | 0 | this._futureElements = null; |
49 | |
} |
50 | 0 | } |
51 | |
|
52 | |
public void setRegGroupId(String regGroupId) { |
53 | 0 | this.regGroupId = regGroupId; |
54 | 0 | } |
55 | |
|
56 | |
public void setStudentId(String studentId) { |
57 | 0 | this.studentId = studentId; |
58 | 0 | } |
59 | |
|
60 | |
@Override |
61 | |
public String getRegGroupId() { |
62 | 0 | return regGroupId; |
63 | |
} |
64 | |
|
65 | |
@Override |
66 | |
public String getStudentId() { |
67 | 0 | return studentId; |
68 | |
} |
69 | |
|
70 | |
} |