| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.student.enrollment.academicrecord.dto; |
| 17 | |
|
| 18 | |
import java.io.Serializable; |
| 19 | |
import java.util.Date; |
| 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.academicrecord.infc.StudentCourseRecord; |
| 29 | |
import org.kuali.student.r2.common.dto.IdNamelessEntityInfo; |
| 30 | |
import org.w3c.dom.Element; |
| 31 | |
|
| 32 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 33 | |
@XmlType(name = "StudentCourseRecordInfo", propOrder = { |
| 34 | |
"id", "typeKey", "stateKey", |
| 35 | |
"sourceTypeKey", "courseRegistrationId", |
| 36 | |
"personId", "courseTitle", "courseCode", "activityCode", |
| 37 | |
"termName", "courseBeginDate", "courseEndDate", |
| 38 | |
"assignedGradeValue", "assignedGradeScaleKey", |
| 39 | |
"administrativeGradeValue", "administrativeGradeScaleKey", |
| 40 | |
"calculatedGradeValue", "calculatedGradeScaleKey", |
| 41 | |
"creditsAttempted", "creditsEarned", "creditsForGPA", |
| 42 | |
"countsTowardCredits", "isRepeated", |
| 43 | |
"meta", "attributes", "_futureElements"}) |
| 44 | |
|
| 45 | |
public class StudentCourseRecordInfo |
| 46 | |
extends IdNamelessEntityInfo |
| 47 | |
implements StudentCourseRecord, Serializable { |
| 48 | |
|
| 49 | |
private static final long serialVersionUID = 1L; |
| 50 | |
|
| 51 | |
@XmlElement |
| 52 | |
private String sourceTypeKey; |
| 53 | |
|
| 54 | |
@XmlElement |
| 55 | |
private String courseRegistrationId; |
| 56 | |
|
| 57 | |
@XmlElement |
| 58 | |
private String personId; |
| 59 | |
|
| 60 | |
@XmlElement |
| 61 | |
private String courseTitle; |
| 62 | |
|
| 63 | |
@XmlElement |
| 64 | |
private String courseCode; |
| 65 | |
|
| 66 | |
@XmlElement |
| 67 | |
private String activityCode; |
| 68 | |
|
| 69 | |
@XmlElement |
| 70 | |
private String termName; |
| 71 | |
|
| 72 | |
@XmlElement |
| 73 | |
private Date courseBeginDate; |
| 74 | |
|
| 75 | |
@XmlElement |
| 76 | |
private Date courseEndDate; |
| 77 | |
|
| 78 | |
@XmlElement |
| 79 | |
private String assignedGradeValue; |
| 80 | |
|
| 81 | |
@XmlElement |
| 82 | |
private String assignedGradeScaleKey; |
| 83 | |
|
| 84 | |
@XmlElement |
| 85 | |
private String administrativeGradeValue; |
| 86 | |
|
| 87 | |
@XmlElement |
| 88 | |
private String administrativeGradeScaleKey; |
| 89 | |
|
| 90 | |
@XmlElement |
| 91 | |
private String calculatedGradeValue; |
| 92 | |
|
| 93 | |
@XmlElement |
| 94 | |
private String calculatedGradeScaleKey; |
| 95 | |
|
| 96 | |
@XmlElement |
| 97 | |
private String creditsAttempted; |
| 98 | |
|
| 99 | |
@XmlElement |
| 100 | |
private String creditsEarned; |
| 101 | |
|
| 102 | |
@XmlElement |
| 103 | |
private String creditsForGPA; |
| 104 | |
|
| 105 | |
@XmlElement |
| 106 | |
private Boolean countsTowardCredits; |
| 107 | |
|
| 108 | |
@XmlElement |
| 109 | |
private Boolean isRepeated; |
| 110 | |
|
| 111 | |
@XmlAnyElement |
| 112 | |
List<Element> _futureElements; |
| 113 | |
|
| 114 | 0 | public StudentCourseRecordInfo() { |
| 115 | 0 | sourceTypeKey = null; |
| 116 | 0 | courseRegistrationId = null; |
| 117 | 0 | personId = null; |
| 118 | 0 | courseTitle = null; |
| 119 | 0 | courseCode = null; |
| 120 | 0 | activityCode = null; |
| 121 | 0 | termName = null; |
| 122 | 0 | courseBeginDate = null; |
| 123 | 0 | courseEndDate = null; |
| 124 | 0 | assignedGradeValue = null; |
| 125 | 0 | assignedGradeScaleKey = null; |
| 126 | 0 | administrativeGradeValue = null; |
| 127 | 0 | administrativeGradeScaleKey = null; |
| 128 | 0 | calculatedGradeValue = null; |
| 129 | 0 | calculatedGradeScaleKey = null; |
| 130 | 0 | creditsAttempted = null; |
| 131 | 0 | creditsEarned = null; |
| 132 | 0 | creditsForGPA = null; |
| 133 | 0 | countsTowardCredits = new Boolean(false); |
| 134 | 0 | isRepeated = new Boolean(false); |
| 135 | |
|
| 136 | 0 | _futureElements = null; |
| 137 | 0 | } |
| 138 | |
|
| 139 | |
|
| 140 | |
|
| 141 | |
|
| 142 | |
|
| 143 | |
|
| 144 | |
|
| 145 | |
public StudentCourseRecordInfo(StudentCourseRecord scr) { |
| 146 | 0 | super(scr); |
| 147 | |
|
| 148 | 0 | sourceTypeKey = scr.getSourceTypeKey(); |
| 149 | 0 | courseRegistrationId = scr.getCourseRegistrationId(); |
| 150 | 0 | personId = scr.getPersonId();; |
| 151 | 0 | courseTitle = scr.getCourseTitle(); |
| 152 | 0 | courseCode = scr.getCourseCode(); |
| 153 | 0 | activityCode = scr.getActivityCode(); |
| 154 | 0 | termName = scr.getTermName(); |
| 155 | 0 | courseBeginDate = scr.getCourseBeginDate(); |
| 156 | 0 | courseEndDate = scr.getCourseEndDate(); |
| 157 | 0 | assignedGradeValue = scr.getAssignedGradeValue(); |
| 158 | 0 | assignedGradeScaleKey = scr.getAssignedGradeScaleKey(); |
| 159 | 0 | administrativeGradeValue = scr.getAdministrativeGradeValue(); |
| 160 | 0 | administrativeGradeScaleKey = scr.getAdministrativeGradeScaleKey(); |
| 161 | 0 | calculatedGradeValue = scr.getCalculatedGradeValue(); |
| 162 | 0 | calculatedGradeScaleKey = scr.getCalculatedGradeScaleKey(); |
| 163 | 0 | creditsAttempted = scr.getCreditsAttempted(); |
| 164 | 0 | creditsEarned = scr.getCreditsEarned(); |
| 165 | 0 | creditsForGPA = scr.getCreditsForGPA(); |
| 166 | 0 | countsTowardCredits = scr.getCountsTowardCredits(); |
| 167 | 0 | isRepeated = scr.getIsRepeated(); |
| 168 | |
|
| 169 | 0 | _futureElements = null; |
| 170 | 0 | } |
| 171 | |
|
| 172 | |
@Override |
| 173 | |
public String getSourceTypeKey() { |
| 174 | 0 | return sourceTypeKey; |
| 175 | |
} |
| 176 | |
|
| 177 | |
public void setSourceTypeKey(String sourceTypeKey) { |
| 178 | 0 | this.sourceTypeKey = sourceTypeKey; |
| 179 | 0 | } |
| 180 | |
|
| 181 | |
@Override |
| 182 | |
public String getCourseRegistrationId() { |
| 183 | 0 | return courseRegistrationId; |
| 184 | |
} |
| 185 | |
|
| 186 | |
public void setCourseRegistrationId(String courseRegistrationId) { |
| 187 | 0 | this.courseRegistrationId = courseRegistrationId; |
| 188 | 0 | } |
| 189 | |
|
| 190 | |
@Override |
| 191 | |
public String getPersonId() { |
| 192 | 0 | return personId; |
| 193 | |
} |
| 194 | |
|
| 195 | |
public void setPersonId(String personId) { |
| 196 | 0 | this.personId = personId; |
| 197 | 0 | } |
| 198 | |
|
| 199 | |
@Override |
| 200 | |
public String getCourseTitle() { |
| 201 | 0 | return courseTitle; |
| 202 | |
} |
| 203 | |
|
| 204 | |
public void setCourseTitle(String courseTitle) { |
| 205 | 0 | this.courseTitle = courseTitle; |
| 206 | 0 | } |
| 207 | |
|
| 208 | |
@Override |
| 209 | |
public String getCourseCode() { |
| 210 | 0 | return courseCode; |
| 211 | |
} |
| 212 | |
|
| 213 | |
public void setCourseCode(String courseCode) { |
| 214 | 0 | this.courseCode = courseCode; |
| 215 | 0 | } |
| 216 | |
|
| 217 | |
@Override |
| 218 | |
public String getActivityCode() { |
| 219 | 0 | return activityCode; |
| 220 | |
} |
| 221 | |
|
| 222 | |
public void setActivityCode(String activityCode) { |
| 223 | 0 | this.activityCode = activityCode; |
| 224 | 0 | } |
| 225 | |
|
| 226 | |
@Override |
| 227 | |
public String getTermName() { |
| 228 | 0 | return termName; |
| 229 | |
} |
| 230 | |
|
| 231 | |
public void setTermName(String termName) { |
| 232 | 0 | this.termName = termName; |
| 233 | 0 | } |
| 234 | |
|
| 235 | |
@Override |
| 236 | |
public Date getCourseBeginDate() { |
| 237 | 0 | return courseBeginDate; |
| 238 | |
} |
| 239 | |
|
| 240 | |
public void setCourseBeginDate(Date courseBeginDate) { |
| 241 | 0 | this.courseBeginDate = courseBeginDate; |
| 242 | 0 | } |
| 243 | |
|
| 244 | |
@Override |
| 245 | |
public Date getCourseEndDate() { |
| 246 | 0 | return courseEndDate; |
| 247 | |
} |
| 248 | |
|
| 249 | |
public void setCourseEndDate(Date courseEndDate) { |
| 250 | 0 | this.courseEndDate = courseEndDate; |
| 251 | 0 | } |
| 252 | |
|
| 253 | |
@Override |
| 254 | |
public String getAssignedGradeValue() { |
| 255 | 0 | return assignedGradeValue; |
| 256 | |
} |
| 257 | |
|
| 258 | |
public void setAssignedGradeValue(String assignedGradeValue) { |
| 259 | 0 | this.assignedGradeValue = assignedGradeValue; |
| 260 | 0 | } |
| 261 | |
|
| 262 | |
@Override |
| 263 | |
public String getAssignedGradeScaleKey() { |
| 264 | 0 | return assignedGradeScaleKey; |
| 265 | |
} |
| 266 | |
|
| 267 | |
public void setAssignedGradeScaleKey(String assignedGradeScaleKey) { |
| 268 | 0 | this.assignedGradeScaleKey = assignedGradeScaleKey; |
| 269 | 0 | } |
| 270 | |
|
| 271 | |
@Override |
| 272 | |
public String getAdministrativeGradeValue() { |
| 273 | 0 | return administrativeGradeValue; |
| 274 | |
} |
| 275 | |
|
| 276 | |
public void setAdministrativeGradeValue(String administrativeGradeValue) { |
| 277 | 0 | this.administrativeGradeValue = administrativeGradeValue; |
| 278 | 0 | } |
| 279 | |
|
| 280 | |
@Override |
| 281 | |
public String getAdministrativeGradeScaleKey() { |
| 282 | 0 | return administrativeGradeScaleKey; |
| 283 | |
} |
| 284 | |
|
| 285 | |
public void setAdministrativeGradeScaleKey(String administrativeGradeScaleKey) { |
| 286 | 0 | this.administrativeGradeScaleKey = administrativeGradeScaleKey; |
| 287 | 0 | } |
| 288 | |
|
| 289 | |
@Override |
| 290 | |
public String getCalculatedGradeValue() { |
| 291 | 0 | return calculatedGradeValue; |
| 292 | |
} |
| 293 | |
|
| 294 | |
public void setCalculatedGradeValue(String calculatedGradeValue) { |
| 295 | 0 | this.calculatedGradeValue = calculatedGradeValue; |
| 296 | 0 | } |
| 297 | |
|
| 298 | |
@Override |
| 299 | |
public String getCalculatedGradeScaleKey() { |
| 300 | 0 | return calculatedGradeScaleKey; |
| 301 | |
} |
| 302 | |
|
| 303 | |
public void setCalculatedGradeScaleKey(String calculatedGradeScaleKey) { |
| 304 | 0 | this.calculatedGradeScaleKey = calculatedGradeScaleKey; |
| 305 | 0 | } |
| 306 | |
|
| 307 | |
@Override |
| 308 | |
public String getCreditsAttempted() { |
| 309 | 0 | return creditsAttempted; |
| 310 | |
} |
| 311 | |
|
| 312 | |
public void setCreditsAttempted(String creditsAttempted) { |
| 313 | 0 | this.creditsAttempted = creditsAttempted; |
| 314 | 0 | } |
| 315 | |
|
| 316 | |
@Override |
| 317 | |
public String getCreditsEarned() { |
| 318 | 0 | return creditsEarned; |
| 319 | |
} |
| 320 | |
|
| 321 | |
public void setCreditsEarned(String creditsEarned) { |
| 322 | 0 | this.creditsEarned = creditsEarned; |
| 323 | 0 | } |
| 324 | |
|
| 325 | |
@Override |
| 326 | |
public String getCreditsForGPA() { |
| 327 | 0 | return creditsForGPA; |
| 328 | |
} |
| 329 | |
|
| 330 | |
public void setCreditsForGPA(String creditsForGPA) { |
| 331 | 0 | this.creditsForGPA = creditsForGPA; |
| 332 | 0 | } |
| 333 | |
|
| 334 | |
@Override |
| 335 | |
public Boolean getCountsTowardCredits() { |
| 336 | 0 | return countsTowardCredits; |
| 337 | |
} |
| 338 | |
|
| 339 | |
public void setCountsTowardCredits(Boolean countsTowardCredits) { |
| 340 | 0 | this.countsTowardCredits = countsTowardCredits; |
| 341 | 0 | } |
| 342 | |
|
| 343 | |
@Override |
| 344 | |
public Boolean getIsRepeated() { |
| 345 | 0 | return isRepeated; |
| 346 | |
} |
| 347 | |
|
| 348 | |
public void setIsRepeated(Boolean isRepeated) { |
| 349 | 0 | this.isRepeated = isRepeated; |
| 350 | 0 | } |
| 351 | |
} |