1 | |
package org.kuali.student.enrollment.waitlist.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.XmlType; |
9 | |
|
10 | |
import org.kuali.student.enrollment.waitlist.course.infc.CourseWaitlist; |
11 | |
import org.kuali.student.enrollment.waitlist.course.infc.CourseWaitlistOption; |
12 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
13 | |
import org.w3c.dom.Element; |
14 | |
|
15 | |
@XmlAccessorType(XmlAccessType.FIELD) |
16 | |
@XmlType(name = "CourseWaitlistInfo", propOrder = {"id", "typeKey", "stateKey", "courseOfferingId", |
17 | |
"courseWailtistEntryIds", "waitlistOptions", "meta", "attributes", "_futureElements"}) |
18 | |
|
19 | 0 | public class CourseWaitlistInfo extends IdEntityInfo implements CourseWaitlist, Serializable { |
20 | |
|
21 | |
private static final long serialVersionUID = 1L; |
22 | |
|
23 | |
private String courseOfferingId; |
24 | |
|
25 | |
private List<String> courseWailtistEntryIds; |
26 | |
|
27 | |
private List<CourseWaitlistOption> waitlistOptions; |
28 | |
|
29 | |
private List<Element> _futureElements; |
30 | |
|
31 | |
|
32 | |
public void setCourseOfferingId(String courseOfferingId) { |
33 | 0 | this.courseOfferingId = courseOfferingId; |
34 | 0 | } |
35 | |
|
36 | |
public void setCourseWailtistEntryIds(List<String> courseWailtistEntryIds) { |
37 | 0 | this.courseWailtistEntryIds = courseWailtistEntryIds; |
38 | 0 | } |
39 | |
|
40 | |
public void setWaitlistOptions(List<CourseWaitlistOption> waitlistOptions) { |
41 | 0 | this.waitlistOptions = waitlistOptions; |
42 | 0 | } |
43 | |
|
44 | |
@Override |
45 | |
public String getCourseOfferingId() { |
46 | 0 | return courseOfferingId; |
47 | |
} |
48 | |
|
49 | |
@Override |
50 | |
public List<String> getCourseWailtistEntryIds() { |
51 | 0 | return courseWailtistEntryIds; |
52 | |
} |
53 | |
|
54 | |
@Override |
55 | |
public List<CourseWaitlistOption> getWaitlistOptions() { |
56 | |
|
57 | 0 | return waitlistOptions; |
58 | |
} |
59 | |
|
60 | |
} |