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