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/CrossListingCmImpl.java $
03: * $Id: CrossListingCmImpl.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.Set;
24:
25: /**
26: * Models a cross listing between two CrossListableCmImpl entities.
27: *
28: * @author <a href="mailto:jholtzman@berkeley.edu">Josh Holtzman</a>
29: */
30: public class CrossListingCmImpl extends
31: AbstractPersistentCourseManagementObjectCmImpl implements
32: Serializable {
33:
34: private static final long serialVersionUID = 1L;
35:
36: /**
37: * The set of canonicalCourses that are associated together in this CrossListingCmImpl
38: */
39: private Set canonicalCourses;
40:
41: /**
42: * The set of courseOfferings that are associated together in this CrossListingCmImpl
43: */
44: private Set courseOfferings;
45:
46: /**
47: * Whether this CrossListingCmImpl is defined by the enterprise
48: */
49: private boolean enterpriseManaged;
50:
51: public Set getCanonicalCourses() {
52: return canonicalCourses;
53: }
54:
55: public void setCanonicalCourses(Set canonicalCourses) {
56: this .canonicalCourses = canonicalCourses;
57: }
58:
59: public Set getCourseOfferings() {
60: return courseOfferings;
61: }
62:
63: public void setCourseOfferings(Set courseOfferings) {
64: this .courseOfferings = courseOfferings;
65: }
66:
67: public boolean isEnterpriseManaged() {
68: return enterpriseManaged;
69: }
70:
71: public void setEnterpriseManaged(boolean enterpriseManaged) {
72: this.enterpriseManaged = enterpriseManaged;
73: }
74: }
|