| 1 | |
package org.kuali.student.enrollment.coursewaitlist.dto; |
| 2 | |
|
| 3 | |
import java.io.Serializable; |
| 4 | |
import java.util.Date; |
| 5 | |
import java.util.List; |
| 6 | |
|
| 7 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 8 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 9 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 10 | |
import javax.xml.bind.annotation.XmlElement; |
| 11 | |
import javax.xml.bind.annotation.XmlType; |
| 12 | |
|
| 13 | |
import org.kuali.student.enrollment.coursewaitlist.infc.CourseWaitlistEntry; |
| 14 | |
import org.kuali.student.r2.common.dto.RelationshipInfo; |
| 15 | |
import org.w3c.dom.Element; |
| 16 | |
|
| 17 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 18 | |
@XmlType(name = "CourseWaitlistEntryInfo", propOrder = {"id", "typeKey", "stateKey", "effectiveDate", "expirationDate", |
| 19 | |
"studentId", "regGroupId", "position", "lastCheckedIn", "courseOfferingId", "meta", "attributes", |
| 20 | |
"_futureElements"}) |
| 21 | |
public class CourseWaitlistEntryInfo extends RelationshipInfo implements CourseWaitlistEntry, Serializable { |
| 22 | |
|
| 23 | |
private static final long serialVersionUID = 1L; |
| 24 | |
|
| 25 | |
@XmlElement |
| 26 | |
private String studentId; |
| 27 | |
|
| 28 | |
@XmlElement |
| 29 | |
private String regGroupId; |
| 30 | |
|
| 31 | |
@XmlElement |
| 32 | |
private Integer position; |
| 33 | |
|
| 34 | |
@XmlElement |
| 35 | |
private Date lastCheckedIn; |
| 36 | |
|
| 37 | |
@XmlElement |
| 38 | |
private String courseOfferingId; |
| 39 | |
|
| 40 | |
@XmlAnyElement |
| 41 | |
private List<Element> _futureElements; |
| 42 | |
|
| 43 | |
public CourseWaitlistEntryInfo() { |
| 44 | 0 | super(); |
| 45 | 0 | } |
| 46 | |
|
| 47 | |
public CourseWaitlistEntryInfo(CourseWaitlistEntry courseWaitlistEntry) { |
| 48 | 0 | super(courseWaitlistEntry); |
| 49 | 0 | if (null != courseWaitlistEntry) { |
| 50 | 0 | this.studentId = courseWaitlistEntry.getStudentId(); |
| 51 | 0 | this.regGroupId = courseWaitlistEntry.getRegGroupId(); |
| 52 | 0 | this.position = courseWaitlistEntry.getPosition(); |
| 53 | 0 | this.lastCheckedIn = courseWaitlistEntry.getLastCheckedIn(); |
| 54 | 0 | this.courseOfferingId = courseWaitlistEntry.getCourseOfferingId(); |
| 55 | |
} |
| 56 | 0 | } |
| 57 | |
|
| 58 | |
public void setLastCheckedIn(Date hasCheckedIn) { |
| 59 | 0 | this.lastCheckedIn = hasCheckedIn; |
| 60 | 0 | } |
| 61 | |
|
| 62 | |
public void setStudentId(String studentId) { |
| 63 | 0 | this.studentId = studentId; |
| 64 | 0 | } |
| 65 | |
|
| 66 | |
public void setPosition(Integer position) { |
| 67 | 0 | this.position = position; |
| 68 | 0 | } |
| 69 | |
|
| 70 | |
@Override |
| 71 | |
public String getRegGroupId() { |
| 72 | 0 | return regGroupId; |
| 73 | |
} |
| 74 | |
|
| 75 | |
public void setRegGroupId(String regGroupId) { |
| 76 | 0 | this.regGroupId = regGroupId; |
| 77 | 0 | } |
| 78 | |
|
| 79 | |
@Override |
| 80 | |
public String getStudentId() { |
| 81 | 0 | return studentId; |
| 82 | |
} |
| 83 | |
|
| 84 | |
@Override |
| 85 | |
public Integer getPosition() { |
| 86 | 0 | return position; |
| 87 | |
} |
| 88 | |
|
| 89 | |
@Override |
| 90 | |
public Date getLastCheckedIn() { |
| 91 | 0 | return lastCheckedIn; |
| 92 | |
} |
| 93 | |
|
| 94 | |
@Override |
| 95 | |
public String getCourseOfferingId() { |
| 96 | 0 | return courseOfferingId; |
| 97 | |
} |
| 98 | |
|
| 99 | |
public void setCourseOfferingId(String courseOfferingId) { |
| 100 | 0 | this.courseOfferingId = courseOfferingId; |
| 101 | 0 | } |
| 102 | |
|
| 103 | |
} |