Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AcademicCalendar |
|
| 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.enrollment.acal.infc; | |
17 | ||
18 | import java.util.Date; | |
19 | import java.util.List; | |
20 | ||
21 | import org.kuali.student.r2.common.infc.IdEntity; | |
22 | ||
23 | ||
24 | /** | |
25 | * Information about an Academic Calendar. | |
26 | * | |
27 | * @author tom | |
28 | * @since Tue Apr 05 14:22:34 EDT 2011 | |
29 | */ | |
30 | ||
31 | public interface AcademicCalendar | |
32 | extends IdEntity { | |
33 | ||
34 | /** | |
35 | * The holiday calendar id corresponding to this academic | |
36 | * calendar. A multi-year academic calendar may have more than one | |
37 | * holiday calendar. | |
38 | * | |
39 | * @name Holiday Calendar Ids | |
40 | * @impl Holiday Calendars are stored in the ATP service as an Associated ATP ATP relation | |
41 | */ | |
42 | public List<String> getHolidayCalendarIds(); | |
43 | ||
44 | /** | |
45 | * The administrative organization responsible for maintaining | |
46 | * this calendar. | |
47 | * | |
48 | * @name AdminOrg Id | |
49 | */ | |
50 | public String getAdminOrgId(); | |
51 | ||
52 | /** | |
53 | * Date and time the term became effective. This | |
54 | * does not provide a bound on date ranges or milestones | |
55 | * associated with this time period, but instead indicates the | |
56 | * time period proper. This is a similar concept to the effective | |
57 | * date on enumerated values. When an expiration date has been | |
58 | * specified, this field must be less than or equal to the | |
59 | * expiration date. | |
60 | * | |
61 | * @name Start Date | |
62 | */ | |
63 | public Date getStartDate(); | |
64 | ||
65 | /** | |
66 | * Date and time the term expires. This does not | |
67 | * provide a bound on date ranges or milestones associated with | |
68 | * this time period, but instead indicates the time period | |
69 | * proper. If specified, this must be greater than or equal to the | |
70 | * effective date. If this field is not specified, then no | |
71 | * expiration date has been currently defined and should | |
72 | * automatically be considered greater than the effective date. | |
73 | * | |
74 | * @name End Date | |
75 | */ | |
76 | public Date getEndDate(); | |
77 | } |