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/EnrollmentSetCmImpl.java $
03: * $Id: EnrollmentSetCmImpl.java 13913 2006-08-22 20:25:48Z 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.Set;
24:
25: import org.sakaiproject.coursemanagement.api.CourseOffering;
26: import org.sakaiproject.coursemanagement.api.EnrollmentSet;
27:
28: public class EnrollmentSetCmImpl extends
29: AbstractNamedCourseManagementObjectCmImpl implements
30: EnrollmentSet, Serializable {
31:
32: private static final long serialVersionUID = 1L;
33:
34: private String category;
35: private String defaultEnrollmentCredits;
36: private CourseOffering courseOffering;
37: private Set officialInstructors;
38:
39: public EnrollmentSetCmImpl() {
40: }
41:
42: public EnrollmentSetCmImpl(String eid, String title,
43: String description, String category,
44: String defaultEnrollmentCredits,
45: CourseOffering courseOffering, Set officialInstructors) {
46: this .eid = eid;
47: this .title = title;
48: this .description = description;
49: this .category = category;
50: this .defaultEnrollmentCredits = defaultEnrollmentCredits;
51: this .courseOffering = courseOffering;
52: this .officialInstructors = officialInstructors;
53: }
54:
55: public String getCategory() {
56: return category;
57: }
58:
59: public void setCategory(String category) {
60: this .category = category;
61: }
62:
63: public CourseOffering getCourseOffering() {
64: return courseOffering;
65: }
66:
67: public void setCourseOffering(CourseOffering courseOffering) {
68: this .courseOffering = courseOffering;
69: }
70:
71: public String getDefaultEnrollmentCredits() {
72: return defaultEnrollmentCredits;
73: }
74:
75: public void setDefaultEnrollmentCredits(
76: String defaultEnrollmentCredits) {
77: this .defaultEnrollmentCredits = defaultEnrollmentCredits;
78: }
79:
80: public Set getOfficialInstructors() {
81: return officialInstructors;
82: }
83:
84: public void setOfficialInstructors(Set officialInstructors) {
85: this.officialInstructors = officialInstructors;
86: }
87:
88: }
|