| 1 | |
package org.kuali.student.r2.core.class1.process.context; |
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
public class CourseRegistrationProcessContextInfo extends ProcessContext { |
| 11 | |
|
| 12 | |
private String studentId; |
| 13 | |
|
| 14 | |
private String termKey; |
| 15 | |
|
| 16 | |
public String getStudentId() { |
| 17 | 0 | return studentId; |
| 18 | |
} |
| 19 | |
|
| 20 | |
public void setStudentId(String studentId) { |
| 21 | 0 | this.studentId = studentId; |
| 22 | 0 | } |
| 23 | |
|
| 24 | |
public String getTermKey() { |
| 25 | 0 | return termKey; |
| 26 | |
} |
| 27 | |
|
| 28 | |
public void setTermKey(String termKey) { |
| 29 | 0 | this.termKey = termKey; |
| 30 | 0 | } |
| 31 | |
|
| 32 | 0 | private CourseRegistrationProcessContextInfo(String studentId, String termKey) { |
| 33 | 0 | this.studentId = studentId; |
| 34 | 0 | this.termKey = termKey; |
| 35 | 0 | } |
| 36 | |
|
| 37 | |
public static CourseRegistrationProcessContextInfo createForRegistrationEligibility(String studentId, String termKey) { |
| 38 | 0 | return new CourseRegistrationProcessContextInfo(studentId, termKey); |
| 39 | |
|
| 40 | |
} |
| 41 | |
|
| 42 | |
} |