| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
package org.kuali.student.enrollment.classII.acal.dto; |
| 16 | |
|
| 17 | |
import java.io.Serializable; |
| 18 | |
import java.util.List; |
| 19 | |
|
| 20 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 21 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 22 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 23 | |
import javax.xml.bind.annotation.XmlElement; |
| 24 | |
import javax.xml.bind.annotation.XmlType; |
| 25 | |
|
| 26 | |
import org.kuali.student.enrollment.classII.acal.infc.RegistrationDateDerivationGroup; |
| 27 | |
import org.kuali.student.r2.common.infc.ModelBuilder; |
| 28 | |
import org.w3c.dom.Element; |
| 29 | |
|
| 30 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 31 | |
@XmlType(name = "RegistrationDateDerivationGroupInfo", propOrder = {"registrationStartDateTermKey", "registrationEndDateTermKey", "classStartDateTermKey", "classEndDateTermKey", "addDateTermKey", "dropDateTermKey", "finalExamStartDateTermKey", "finalExamEndDateTermKey", "gradingStartDateTermKey", "gradingEndDateTermKey", "_futureElements"}) |
| 32 | |
public class RegistrationDateDerivationGroupInfo implements RegistrationDateDerivationGroup, Serializable { |
| 33 | |
|
| 34 | |
private static final long serialVersionUID = 1L; |
| 35 | |
@XmlElement |
| 36 | |
private final String registrationStartDateTermKey; |
| 37 | |
@XmlElement |
| 38 | |
private final String registrationEndDateTermKey; |
| 39 | |
@XmlElement |
| 40 | |
private final String classStartDateTermKey; |
| 41 | |
@XmlElement |
| 42 | |
private final String classEndDateTermKey; |
| 43 | |
@XmlElement |
| 44 | |
private final String addDateTermKey; |
| 45 | |
@XmlElement |
| 46 | |
private final String dropDateTermKey; |
| 47 | |
@XmlElement |
| 48 | |
private final String finalExamStartDateTermKey; |
| 49 | |
@XmlElement |
| 50 | |
private final String finalExamEndDateTermKey; |
| 51 | |
@XmlElement |
| 52 | |
private final String gradingStartDateTermKey; |
| 53 | |
@XmlElement |
| 54 | |
private final String gradingEndDateTermKey; |
| 55 | |
@XmlAnyElement |
| 56 | |
private final List<Element> _futureElements; |
| 57 | |
|
| 58 | 0 | private RegistrationDateDerivationGroupInfo() { |
| 59 | 0 | registrationStartDateTermKey = null; |
| 60 | 0 | registrationEndDateTermKey = null; |
| 61 | 0 | classStartDateTermKey = null; |
| 62 | 0 | classEndDateTermKey = null; |
| 63 | 0 | addDateTermKey = null; |
| 64 | 0 | dropDateTermKey = null; |
| 65 | 0 | finalExamStartDateTermKey = null; |
| 66 | 0 | finalExamEndDateTermKey = null; |
| 67 | 0 | gradingStartDateTermKey = null; |
| 68 | 0 | gradingEndDateTermKey = null; |
| 69 | 0 | _futureElements = null; |
| 70 | 0 | } |
| 71 | |
|
| 72 | |
|
| 73 | |
|
| 74 | |
|
| 75 | |
|
| 76 | |
|
| 77 | |
|
| 78 | 0 | public RegistrationDateDerivationGroupInfo(RegistrationDateDerivationGroup dateDerivationGroup) { |
| 79 | 0 | registrationStartDateTermKey = dateDerivationGroup.getRegistrationStartDateTermKey(); |
| 80 | 0 | registrationEndDateTermKey = dateDerivationGroup.getRegistrationEndDateTermKey(); |
| 81 | 0 | classStartDateTermKey = dateDerivationGroup.getClassStartDateTermKey(); |
| 82 | 0 | classEndDateTermKey = dateDerivationGroup.getRegistrationEndDateTermKey(); |
| 83 | 0 | addDateTermKey = dateDerivationGroup.getAddDateTermKey(); |
| 84 | 0 | dropDateTermKey = dateDerivationGroup.getDropDateTermKey(); |
| 85 | 0 | finalExamStartDateTermKey = dateDerivationGroup.getFinalExamStartDateTermKey(); |
| 86 | 0 | finalExamEndDateTermKey = dateDerivationGroup.getFinalExamEndDateTermKey(); |
| 87 | 0 | gradingStartDateTermKey = dateDerivationGroup.getGradingStartDateTermKey(); |
| 88 | 0 | gradingEndDateTermKey = dateDerivationGroup.getGradingEndDateTermKey(); |
| 89 | 0 | _futureElements = null; |
| 90 | 0 | } |
| 91 | |
|
| 92 | |
@Override |
| 93 | |
public String getRegistrationStartDateTermKey() { |
| 94 | 0 | return registrationStartDateTermKey; |
| 95 | |
} |
| 96 | |
|
| 97 | |
@Override |
| 98 | |
public String getRegistrationEndDateTermKey() { |
| 99 | 0 | return registrationEndDateTermKey; |
| 100 | |
} |
| 101 | |
|
| 102 | |
@Override |
| 103 | |
public String getClassStartDateTermKey() { |
| 104 | 0 | return classStartDateTermKey; |
| 105 | |
} |
| 106 | |
|
| 107 | |
@Override |
| 108 | |
public String getClassEndDateTermKey() { |
| 109 | 0 | return classEndDateTermKey; |
| 110 | |
} |
| 111 | |
|
| 112 | |
@Override |
| 113 | |
public String getAddDateTermKey() { |
| 114 | 0 | return addDateTermKey; |
| 115 | |
} |
| 116 | |
|
| 117 | |
@Override |
| 118 | |
public String getDropDateTermKey() { |
| 119 | 0 | return dropDateTermKey; |
| 120 | |
} |
| 121 | |
|
| 122 | |
@Override |
| 123 | |
public String getFinalExamStartDateTermKey() { |
| 124 | 0 | return finalExamStartDateTermKey; |
| 125 | |
} |
| 126 | |
|
| 127 | |
@Override |
| 128 | |
public String getFinalExamEndDateTermKey() { |
| 129 | 0 | return finalExamEndDateTermKey; |
| 130 | |
} |
| 131 | |
|
| 132 | |
@Override |
| 133 | |
public String getGradingStartDateTermKey() { |
| 134 | 0 | return gradingStartDateTermKey; |
| 135 | |
} |
| 136 | |
|
| 137 | |
@Override |
| 138 | |
public String getGradingEndDateTermKey() { |
| 139 | 0 | return gradingEndDateTermKey; |
| 140 | |
} |
| 141 | |
|
| 142 | |
|
| 143 | |
|
| 144 | |
|
| 145 | 0 | public static class Builder implements ModelBuilder<RegistrationDateDerivationGroupInfo>, RegistrationDateDerivationGroup { |
| 146 | |
|
| 147 | |
private String registrationStartDateTermKey; |
| 148 | |
private String registrationEndDateTermKey; |
| 149 | |
private String classStartDateTermKey; |
| 150 | |
private String classEndDateTermKey; |
| 151 | |
private String addDateTermKey; |
| 152 | |
private String dropDateTermKey; |
| 153 | |
private String finalExamStartDateTermKey; |
| 154 | |
private String finalExamEndDateTermKey; |
| 155 | |
private String gradingStartDateTermKey; |
| 156 | |
private String gradingEndDateTermKey; |
| 157 | |
|
| 158 | |
|
| 159 | |
|
| 160 | |
|
| 161 | 0 | public Builder() { |
| 162 | 0 | } |
| 163 | |
|
| 164 | |
|
| 165 | |
|
| 166 | |
|
| 167 | |
|
| 168 | 0 | public Builder(RegistrationDateDerivationGroup dateDerivationGroup) { |
| 169 | 0 | registrationStartDateTermKey = dateDerivationGroup.getRegistrationStartDateTermKey(); |
| 170 | 0 | registrationEndDateTermKey = dateDerivationGroup.getRegistrationEndDateTermKey(); |
| 171 | 0 | classStartDateTermKey = dateDerivationGroup.getClassStartDateTermKey(); |
| 172 | 0 | classEndDateTermKey = dateDerivationGroup.getRegistrationEndDateTermKey(); |
| 173 | 0 | addDateTermKey = dateDerivationGroup.getAddDateTermKey(); |
| 174 | 0 | dropDateTermKey = dateDerivationGroup.getDropDateTermKey(); |
| 175 | 0 | finalExamStartDateTermKey = dateDerivationGroup.getFinalExamStartDateTermKey(); |
| 176 | 0 | finalExamEndDateTermKey = dateDerivationGroup.getFinalExamEndDateTermKey(); |
| 177 | 0 | gradingStartDateTermKey = dateDerivationGroup.getGradingStartDateTermKey(); |
| 178 | 0 | gradingEndDateTermKey = dateDerivationGroup.getGradingEndDateTermKey(); |
| 179 | 0 | } |
| 180 | |
|
| 181 | |
|
| 182 | |
|
| 183 | |
|
| 184 | |
|
| 185 | |
|
| 186 | |
@Override |
| 187 | |
public RegistrationDateDerivationGroupInfo build() { |
| 188 | 0 | return new RegistrationDateDerivationGroupInfo(this); |
| 189 | |
} |
| 190 | |
|
| 191 | |
@Override |
| 192 | |
public String getRegistrationStartDateTermKey() { |
| 193 | 0 | return registrationStartDateTermKey; |
| 194 | |
} |
| 195 | |
|
| 196 | |
public void setRegistrationStartDateTermKey(String termKey) { |
| 197 | 0 | this.registrationStartDateTermKey = termKey; |
| 198 | 0 | } |
| 199 | |
|
| 200 | |
@Override |
| 201 | |
public String getRegistrationEndDateTermKey() { |
| 202 | 0 | return registrationEndDateTermKey; |
| 203 | |
} |
| 204 | |
|
| 205 | |
public void setRegistrationEndDateTermKey(String termKey) { |
| 206 | 0 | this.registrationEndDateTermKey = termKey; |
| 207 | 0 | } |
| 208 | |
|
| 209 | |
@Override |
| 210 | |
public String getClassStartDateTermKey() { |
| 211 | 0 | return classStartDateTermKey; |
| 212 | |
} |
| 213 | |
|
| 214 | |
public void setClassStartDateTermKey(String termKey) { |
| 215 | 0 | this.classStartDateTermKey = termKey; |
| 216 | 0 | } |
| 217 | |
|
| 218 | |
@Override |
| 219 | |
public String getClassEndDateTermKey() { |
| 220 | 0 | return classEndDateTermKey; |
| 221 | |
} |
| 222 | |
|
| 223 | |
public void setClassEndDateTermKey(String termKey) { |
| 224 | 0 | this.classEndDateTermKey = termKey; |
| 225 | 0 | } |
| 226 | |
|
| 227 | |
@Override |
| 228 | |
public String getAddDateTermKey() { |
| 229 | 0 | return addDateTermKey; |
| 230 | |
} |
| 231 | |
|
| 232 | |
public void setAddDateTermKey(String termKey) { |
| 233 | 0 | this.addDateTermKey = termKey; |
| 234 | 0 | } |
| 235 | |
|
| 236 | |
@Override |
| 237 | |
public String getDropDateTermKey() { |
| 238 | 0 | return dropDateTermKey; |
| 239 | |
} |
| 240 | |
|
| 241 | |
public void setDropDateTermKey(String termKey) { |
| 242 | 0 | this.dropDateTermKey = termKey; |
| 243 | 0 | } |
| 244 | |
|
| 245 | |
@Override |
| 246 | |
public String getFinalExamStartDateTermKey() { |
| 247 | 0 | return finalExamStartDateTermKey; |
| 248 | |
} |
| 249 | |
|
| 250 | |
public void setFinalExamStartDateTermKey(String termKey) { |
| 251 | 0 | this.finalExamStartDateTermKey = termKey; |
| 252 | 0 | } |
| 253 | |
|
| 254 | |
@Override |
| 255 | |
public String getFinalExamEndDateTermKey() { |
| 256 | 0 | return finalExamEndDateTermKey; |
| 257 | |
} |
| 258 | |
|
| 259 | |
public void setFinalExamEndDateTermKey(String termKey) { |
| 260 | 0 | this.finalExamEndDateTermKey = termKey; |
| 261 | 0 | } |
| 262 | |
|
| 263 | |
@Override |
| 264 | |
public String getGradingStartDateTermKey() { |
| 265 | 0 | return gradingStartDateTermKey; |
| 266 | |
} |
| 267 | |
|
| 268 | |
public void setGradingStartDateTermKey(String termKey) { |
| 269 | 0 | this.gradingStartDateTermKey = termKey; |
| 270 | 0 | } |
| 271 | |
|
| 272 | |
@Override |
| 273 | |
public String getGradingEndDateTermKey() { |
| 274 | 0 | return gradingEndDateTermKey; |
| 275 | |
} |
| 276 | |
|
| 277 | |
public void setGradingEndDateTermKey(String termKey) { |
| 278 | 0 | this.gradingEndDateTermKey = termKey; |
| 279 | 0 | } |
| 280 | |
} |
| 281 | |
} |