| 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.List; |
| 21 | |
|
| 22 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 24 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 25 | |
import javax.xml.bind.annotation.XmlElement; |
| 26 | |
import javax.xml.bind.annotation.XmlType; |
| 27 | |
|
| 28 | |
import org.kuali.student.enrollment.courseregistration.infc.RegistrationRequestItem; |
| 29 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
| 30 | |
import org.w3c.dom.Element; |
| 31 | |
|
| 32 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 33 | |
@XmlType(name = "RegistrationRequestItemInfo", propOrder = { |
| 34 | |
"id", "name", "descr", "typeKey", "stateKey", |
| 35 | |
"registrationRequestId", "studentId", |
| 36 | |
"newRegistrationGroupId", "existingRegistrationGroupId", |
| 37 | |
"credits", "gradingOptionId", "okToWaitlist", "okToHoldList", |
| 38 | |
"meta", "attributes", "_futureElements"}) |
| 39 | |
|
| 40 | |
public class RegistrationRequestItemInfo |
| 41 | |
extends IdEntityInfo |
| 42 | |
implements RegistrationRequestItem, Serializable { |
| 43 | |
|
| 44 | |
private static final long serialVersionUID = 1L; |
| 45 | |
|
| 46 | |
@XmlElement |
| 47 | |
private String registrationRequestId; |
| 48 | |
|
| 49 | |
@XmlElement |
| 50 | |
private String studentId; |
| 51 | |
|
| 52 | |
@XmlElement |
| 53 | |
private String newRegistrationGroupId; |
| 54 | |
|
| 55 | |
@XmlElement |
| 56 | |
private String existingRegistrationGroupId; |
| 57 | |
|
| 58 | |
@XmlElement |
| 59 | |
private String credits; |
| 60 | |
|
| 61 | |
@XmlElement |
| 62 | |
private String gradingOptionId; |
| 63 | |
|
| 64 | |
@XmlElement |
| 65 | |
private Boolean okToWaitlist; |
| 66 | |
|
| 67 | |
@XmlElement |
| 68 | |
private Boolean okToHoldList; |
| 69 | |
|
| 70 | |
@XmlAnyElement |
| 71 | |
private List<Element> _futureElements; |
| 72 | |
|
| 73 | |
|
| 74 | |
|
| 75 | |
|
| 76 | 0 | public RegistrationRequestItemInfo() { |
| 77 | 0 | } |
| 78 | |
|
| 79 | |
|
| 80 | |
|
| 81 | |
|
| 82 | |
|
| 83 | |
|
| 84 | |
|
| 85 | |
|
| 86 | |
public RegistrationRequestItemInfo(RegistrationRequestItem registrationRequestItem) { |
| 87 | 0 | super(registrationRequestItem); |
| 88 | |
|
| 89 | 0 | if (registrationRequestItem != null) { |
| 90 | 0 | this.registrationRequestId = registrationRequestItem.getRegistrationRequestId(); |
| 91 | 0 | this.studentId = registrationRequestItem.getStudentId(); |
| 92 | 0 | this.newRegistrationGroupId = registrationRequestItem.getNewRegistrationGroupId(); |
| 93 | 0 | this.existingRegistrationGroupId = registrationRequestItem.getExistingRegistrationGroupId(); |
| 94 | 0 | this.credits = registrationRequestItem.getCredits(); |
| 95 | 0 | this.gradingOptionId = registrationRequestItem.getGradingOptionId(); |
| 96 | 0 | this.okToWaitlist = registrationRequestItem.getOkToWaitlist(); |
| 97 | 0 | this.okToHoldList = registrationRequestItem.getOkToHoldList(); |
| 98 | |
} |
| 99 | 0 | } |
| 100 | |
|
| 101 | |
@Override |
| 102 | |
public String getRegistrationRequestId() { |
| 103 | 0 | return registrationRequestId; |
| 104 | |
} |
| 105 | |
|
| 106 | |
public void setRegistrationRequestId(String registrationRequestId) { |
| 107 | 0 | this.registrationRequestId = registrationRequestId; |
| 108 | 0 | } |
| 109 | |
|
| 110 | |
@Override |
| 111 | |
public String getStudentId() { |
| 112 | 0 | return studentId; |
| 113 | |
} |
| 114 | |
|
| 115 | |
public void setStudentId(String studentId) { |
| 116 | 0 | this.studentId = studentId; |
| 117 | 0 | } |
| 118 | |
|
| 119 | |
@Override |
| 120 | |
public String getNewRegistrationGroupId() { |
| 121 | 0 | return newRegistrationGroupId; |
| 122 | |
} |
| 123 | |
|
| 124 | |
public void setNewRegistrationGroupId(String newRegistrationGroupId) { |
| 125 | 0 | this.newRegistrationGroupId = newRegistrationGroupId; |
| 126 | 0 | } |
| 127 | |
|
| 128 | |
@Override |
| 129 | |
public String getExistingRegistrationGroupId() { |
| 130 | 0 | return existingRegistrationGroupId; |
| 131 | |
} |
| 132 | |
|
| 133 | |
public void setExistingRegistrationGroupId(String existingRegistrationGroupId) { |
| 134 | 0 | this.existingRegistrationGroupId = existingRegistrationGroupId; |
| 135 | 0 | } |
| 136 | |
|
| 137 | |
@Override |
| 138 | |
public String getCredits() { |
| 139 | 0 | return credits; |
| 140 | |
} |
| 141 | |
|
| 142 | |
public void setCredits(String credits) { |
| 143 | 0 | this.credits = credits; |
| 144 | 0 | } |
| 145 | |
|
| 146 | |
@Override |
| 147 | |
public String getGradingOptionId() { |
| 148 | 0 | return gradingOptionId; |
| 149 | |
} |
| 150 | |
|
| 151 | |
public void setGradingOptionId(String gradingOptionId) { |
| 152 | 0 | this.gradingOptionId = gradingOptionId; |
| 153 | 0 | } |
| 154 | |
|
| 155 | |
@Override |
| 156 | |
public Boolean getOkToWaitlist() { |
| 157 | 0 | return okToWaitlist; |
| 158 | |
} |
| 159 | |
|
| 160 | |
public void setOkToWaitlist(Boolean okToWaitlist) { |
| 161 | 0 | this.okToWaitlist = okToWaitlist; |
| 162 | 0 | } |
| 163 | |
|
| 164 | |
@Override |
| 165 | |
public Boolean getOkToHoldList() { |
| 166 | 0 | return okToHoldList; |
| 167 | |
} |
| 168 | |
|
| 169 | |
public void setOkToHoldList(Boolean okToHoldList) { |
| 170 | 0 | this.okToHoldList = okToHoldList; |
| 171 | 0 | } |
| 172 | |
} |