Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AcademicCalendarInfc |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
3 | * Educational Community License, Version 2.0 (the "License"); you may | |
4 | * not use this file except in compliance with the License. You may | |
5 | * obtain a copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, | |
10 | * software distributed under the License is distributed on an "AS IS" | |
11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
12 | * or implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | ||
16 | package org.kuali.student.core.academiccalendar.infc; | |
17 | ||
18 | import java.util.Date; | |
19 | import java.util.List; | |
20 | ||
21 | import org.kuali.student.common.infc.KeyEntity; | |
22 | import org.kuali.student.common.infc.Type; | |
23 | ||
24 | ||
25 | /** | |
26 | * Information about an Academic Calendar. | |
27 | * | |
28 | * @Author tom | |
29 | * @Since Tue Apr 05 14:22:34 EDT 2011 | |
30 | */ | |
31 | ||
32 | public interface AcademicCalendarInfc extends KeyEntity { | |
33 | ||
34 | /** | |
35 | * Name: CampusCalendar | |
36 | * Gets the campus calendar corresponding to this academic | |
37 | * calendar. | |
38 | */ | |
39 | public CampusCalendarInfc getCampusCalendar(); | |
40 | ||
41 | /** | |
42 | * Name: StartDate | |
43 | * Date and time the academic calendar became effective. This | |
44 | * does not provide a bound on date ranges or milestones | |
45 | * associated with this calendar, but instead indicates the | |
46 | * calendar proper. This is a similar concept to the effective | |
47 | * date on enumerated values. When an expiration date has been | |
48 | * specified, this field must be less than or equal to the | |
49 | * expiration date. | |
50 | */ | |
51 | public Date getStartDate(); | |
52 | ||
53 | /** | |
54 | * Name: StartDate | |
55 | * Date and time the academic calendar expires. This does not | |
56 | * provide a bound on date ranges or milestones associated with | |
57 | * this calendar, but instead indicates the calendar | |
58 | * proper. If specified, this must be greater than or equal to the | |
59 | * effective date. If this field is not specified, then no | |
60 | * expiration date has been currently defined and should | |
61 | * automatically be considered greater than the effective date. | |
62 | */ | |
63 | public Date getEndDate(); | |
64 | ||
65 | /** | |
66 | * Name: Terms | |
67 | * Gets the terms corresponding to this academic | |
68 | * calendar. | |
69 | */ | |
70 | public List<? extends TermInfc> getTerms(); | |
71 | ||
72 | /** | |
73 | * Name: CredentialProgramType | |
74 | * Gets the credential program type to which this calendar | |
75 | * relates. | |
76 | */ | |
77 | public Type getCredentialProgramType(); | |
78 | } |