Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CourseWaitlistEntry |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2010 The Kuali Foundation Licensed under the Educational Community | |
3 | * License, Version 2.0 (the "License"); you may not use this file except in | |
4 | * compliance with the License. You may obtain a copy of the License at | |
5 | * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or | |
6 | * agreed to in writing, software distributed under the License is distributed | |
7 | * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | |
8 | * express or implied. See the License for the specific language governing | |
9 | * permissions and limitations under the License. | |
10 | */ | |
11 | ||
12 | package org.kuali.student.enrollment.waitlist.course.infc; | |
13 | ||
14 | import java.util.Date; | |
15 | ||
16 | import org.kuali.student.r2.common.infc.Relationship; | |
17 | ||
18 | /** | |
19 | * Represents a single student in the course waitlist. Contains information such | |
20 | * as student id, the waitlist option (reg group id and clearing strategy) and | |
21 | * the student's position in the waitlist. As more seats become available the | |
22 | * students in the waitlist are moved to the course. | |
23 | * <P> | |
24 | * Implementation Notes: | |
25 | * It is represented by an LPR at Class I level, when a student actually | |
26 | * registers for the course the LPR is a RegGroupRegistration | |
27 | * | |
28 | * @Author sambit | |
29 | * @Since Tue May 10 14:22:34 EDT 2011 | |
30 | */ | |
31 | ||
32 | public interface CourseWaitlistEntry extends Relationship { | |
33 | ||
34 | /** | |
35 | * Returns the student id in waitlist entry waitlisted. | |
36 | */ | |
37 | public String getStudentId(); | |
38 | ||
39 | /** | |
40 | * Returns the position of this entry in the waitlist for a particular | |
41 | * waitlist option . | |
42 | */ | |
43 | public Integer getPosition(); | |
44 | ||
45 | /** | |
46 | * Returns true if the student has checked in to the waitlist. Used to track | |
47 | * if the student is still interested in being in the wailist. | |
48 | * | |
49 | * @return | |
50 | */ | |
51 | public Date getLastCheckedIn(); | |
52 | ||
53 | /** | |
54 | * Returns the reg group id for this waitlist entry. A waitlist entry should | |
55 | * always be on tied to a single reg group. | |
56 | * | |
57 | * @return | |
58 | */ | |
59 | public String getRegGroupId(); | |
60 | ||
61 | /** | |
62 | * | |
63 | * Course offering id that contains the | |
64 | * | |
65 | * @return | |
66 | */ | |
67 | public String getCourseOfferingId(); | |
68 | } |