01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/course-management/tags/sakai_2-4-1/cm-impl/hibernate-impl/hibernate/src/java/org/sakaiproject/coursemanagement/impl/AcademicSessionCmImpl.java $
03: * $Id: AcademicSessionCmImpl.java 13799 2006-08-16 21:14:31Z jholtzman@berkeley.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.coursemanagement.impl;
21:
22: import java.io.Serializable;
23: import java.util.Date;
24:
25: import org.sakaiproject.coursemanagement.api.AcademicSession;
26:
27: public class AcademicSessionCmImpl extends
28: AbstractNamedCourseManagementObjectCmImpl implements
29: AcademicSession, Serializable {
30:
31: private static final long serialVersionUID = 1L;
32:
33: private Date startDate;
34: private Date endDate;
35:
36: public AcademicSessionCmImpl() {
37: }
38:
39: public AcademicSessionCmImpl(String eid, String title,
40: String description, Date startDate, Date endDate) {
41: this .eid = eid;
42: this .title = title;
43: this .description = description;
44: this .startDate = startDate;
45: this .endDate = endDate;
46: }
47:
48: public Date getEndDate() {
49: return endDate;
50: }
51:
52: public void setEndDate(Date endDate) {
53: this .endDate = endDate;
54: }
55:
56: public Date getStartDate() {
57: return startDate;
58: }
59:
60: public void setStartDate(Date startDate) {
61: this.startDate = startDate;
62: }
63: }
|