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.CreditLoad;
30 import org.w3c.dom.Element;
31
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "CreditLoadInfo", propOrder = {
34 "studentId", "creditLoad", "creditLimit", "additionalCredits",
35 "_futureElements"})
36
37 public class CreditLoadInfo
38 implements CreditLoad, Serializable {
39
40 private static final long serialVersionUID = 1L;
41
42 @XmlElement
43 private String studentId;
44
45 @XmlElement
46 private String creditLoad;
47
48 @XmlElement
49 private String creditLimit;
50
51 @XmlElement
52 private String additionalCredits;
53
54 @XmlAnyElement
55 private List<Element> _futureElements;
56
57
58
59
60
61 public CreditLoadInfo() {
62 }
63
64
65
66
67
68
69
70 public CreditLoadInfo(CreditLoad creditLoad) {
71 if (creditLoad != null) {
72 this.studentId = creditLoad.getStudentId();
73 this.creditLoad = creditLoad.getCreditLoad();
74 this.creditLimit = creditLoad.getCreditLimit();
75 this.additionalCredits = creditLoad.getAdditionalCredits();
76 }
77 }
78
79 @Override
80 public String getStudentId() {
81 return studentId;
82 }
83
84 public void setStudentId(String studentId) {
85 this.studentId = studentId;
86 }
87
88 @Override
89 public String getCreditLoad() {
90 return creditLoad;
91 }
92
93 public void setCreditLoad(String creditLoad) {
94 this.creditLoad = creditLoad;
95 }
96
97 @Override
98 public String getCreditLimit() {
99 return creditLimit;
100 }
101
102 public void setCreditLimit(String creditLimit) {
103 this.creditLimit = creditLimit;
104 }
105
106 @Override
107 public String getAdditionalCredits() {
108 return additionalCredits;
109 }
110
111 public void setAdditionalCredits(String credits) {
112 this.additionalCredits = credits;
113 }
114 }