1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.enrollment.courseoffering.dto;
18
19 import org.kuali.student.r2.common.dto.IdEntityInfo;
20
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlElement;
24 import javax.xml.bind.annotation.XmlType;
25 import java.io.Serializable;
26 import java.util.ArrayList;
27 import java.util.List;
28
29
30
31
32
33
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "CreditOptions", propOrder = {"id", "typeKey", "credits", "minCredits", "maxCredits"})
36
37 public class CreditOptionInfo extends IdEntityInfo implements Serializable {
38
39 private static final long serialVersionUID = 1L;
40
41 @XmlElement
42 private String typeKey;
43
44 @XmlElement
45 List<String> credits;
46
47 List<String> allowedCredits;
48
49 @XmlElement
50 String minCredits;
51
52 @XmlElement
53 String maxCredits;
54
55 String fixedCredit;
56
57 String courseMinCredits;
58 String courseMaxCredits;
59 String courseFixedCredits;
60
61
62
63
64 public CreditOptionInfo() {
65 }
66
67 public String getTypeKey() {
68 return this.typeKey;
69 }
70
71 public void setTypeKey(String typeKey) {
72 this.typeKey = typeKey;
73 }
74
75 public List<String> getCredits() {
76 if (null == credits) {
77 credits = new ArrayList<String>();
78 }
79 return credits;
80 }
81
82 public List<String> getAllowedCredits() {
83 if (null == allowedCredits) {
84 allowedCredits = new ArrayList<String>();
85 }
86 return allowedCredits;
87 }
88
89 public void setAllowedCredits(List<String> allowedCredits) {
90 this.allowedCredits = allowedCredits;
91 }
92
93 public void setCredits(List<String> credits) {
94 this.credits = credits;
95 }
96
97 public String getMinCredits() {
98 return this.minCredits;
99 }
100
101 public void setMinCredits(String minCredits) {
102 this.minCredits = minCredits;
103 }
104
105 public String getMaxCredits() {
106 return this.maxCredits;
107 }
108
109 public void setMaxCredits(String maxCredits) {
110 this.maxCredits = maxCredits;
111 }
112
113 public String getFixedCredit() {
114 return fixedCredit;
115 }
116
117 public void setFixedCredit(String fixedCredit) {
118 this.fixedCredit = fixedCredit;
119 }
120
121
122 public String getCourseFixedCredits() {
123 return courseFixedCredits;
124 }
125
126 public void setCourseFixedCredits(String courseFixedCredits) {
127 this.courseFixedCredits = courseFixedCredits;
128 }
129
130 public String getCourseMaxCredits() {
131 return courseMaxCredits;
132 }
133
134 public void setCourseMaxCredits(String courseMaxCredits) {
135 this.courseMaxCredits = courseMaxCredits;
136 }
137
138 public String getCourseMinCredits() {
139 return courseMinCredits;
140 }
141
142 public void setCourseMinCredits(String courseMinCredits) {
143 this.courseMinCredits = courseMinCredits;
144 }
145 }