| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Term |
|
| 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 | ||
| 20 | import org.kuali.student.r2.common.infc.IdEntity; | |
| 21 | ||
| 22 | ||
| 23 | /** | |
| 24 | * Information about a Term. | |
| 25 | * | |
| 26 | * A term is the time period in which a course may be offered. | |
| 27 | * | |
| 28 | * @author tom | |
| 29 | * @since Tue Apr 05 14:22:34 EDT 2011 | |
| 30 | */ | |
| 31 | ||
| 32 | public interface Term | |
| 33 | extends IdEntity { | |
| 34 | ||
| 35 | /** | |
| 36 | * Gets a display code for this Term. | |
| 37 | * | |
| 38 | * @name Code | |
| 39 | */ | |
| 40 | public String getCode(); | |
| 41 | ||
| 42 | /** | |
| 43 | * Date and time the term became effective. This | |
| 44 | * does not provide a bound on date ranges or milestones | |
| 45 | * associated with this time period, but instead indicates the | |
| 46 | * time period 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 | * @name Start Date | |
| 52 | */ | |
| 53 | public Date getStartDate(); | |
| 54 | ||
| 55 | /** | |
| 56 | * Date and time the term expires. This does not | |
| 57 | * provide a bound on date ranges or milestones associated with | |
| 58 | * this time period, but instead indicates the time period | |
| 59 | * proper. If specified, this must be greater than or equal to the | |
| 60 | * effective date. If this field is not specified, then no | |
| 61 | * expiration date has been currently defined and should | |
| 62 | * automatically be considered greater than the effective date. | |
| 63 | * | |
| 64 | * @name End Date | |
| 65 | */ | |
| 66 | public Date getEndDate(); | |
| 67 | } |