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