Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
HolidayCalendar |
|
| 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 a Holiday Calendar. A Holiday Calendar is used | |
26 | * for holidays and other non-instructional days. A Holiday Calendar | |
27 | * is used to share those special days among AcademicCalendars. | |
28 | * | |
29 | * @author tom | |
30 | * @since Tue Apr 05 14:22:34 EDT 2011 | |
31 | */ | |
32 | ||
33 | public interface HolidayCalendar | |
34 | extends IdEntity { | |
35 | ||
36 | /** | |
37 | * The campuses to which this calendar pertains. | |
38 | * | |
39 | * @name Campus Keys | |
40 | * @impl campus keys should be stored as a set of dynamic attributes all with | |
41 | * CAMPUS_KEY_DYNAMIC_ATTRIBUTE_KEY | |
42 | */ | |
43 | public List<String> getCampusKeys(); | |
44 | ||
45 | /** | |
46 | * The administrative organization responsible for maintaining | |
47 | * this calendar. | |
48 | * | |
49 | * @name AdminOrg Id | |
50 | */ | |
51 | public String getAdminOrgId(); | |
52 | ||
53 | /** | |
54 | * Date and time the holiday calendar became effective. This | |
55 | * does not provide a bound on date ranges or milestones | |
56 | * associated with this time period, but instead indicates the | |
57 | * time period proper. This is a similar concept to the effective | |
58 | * date on enumerated values. When an expiration date has been | |
59 | * specified, this field must be less than or equal to the | |
60 | * expiration date. | |
61 | * | |
62 | * @name Start Date | |
63 | */ | |
64 | public Date getStartDate(); | |
65 | ||
66 | /** | |
67 | * Date and time the holiday calendar expires. This does not | |
68 | * provide a bound on date ranges or milestones associated with | |
69 | * this time period, but instead indicates the time period | |
70 | * proper. If specified, this must be greater than or equal to the | |
71 | * effective date. If this field is not specified, then no | |
72 | * expiration date has been currently defined and should | |
73 | * automatically be considered greater than the effective date. | |
74 | * | |
75 | * @name End Date | |
76 | */ | |
77 | public Date getEndDate(); | |
78 | } |