01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/course-management/tags/sakai_2-4-1/cm-api/api/src/java/org/sakaiproject/coursemanagement/api/CourseSet.java $
03: * $Id: CourseSet.java 13837 2006-08-18 00:41:43Z 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.api;
21:
22: /**
23: * Models "School" and "Department" as well as more ad hoc groupings.
24: *
25: * @author <a href="mailto:jholtzman@berkeley.edu">Josh Holtzman</a>
26: */
27: public interface CourseSet {
28:
29: /**
30: * Gets the unique enterprise id of this MembershipContainer.
31: * @return
32: */
33: public String getEid();
34:
35: public void setEid(String eid);
36:
37: /**
38: * What authority defines this object?
39: * @return
40: */
41: public String getAuthority();
42:
43: public void setAuthority(String authority);
44:
45: /**
46: * Gets the title of this MembershipContainer.
47: * @return
48: */
49: public String getTitle();
50:
51: public void setTitle(String title);
52:
53: /**
54: * Gets the description of this MembershipContainer.
55: * @return
56: */
57: public String getDescription();
58:
59: public void setDescription(String description);
60:
61: /**
62: * A category
63: * @return
64: */
65: public String getCategory();
66:
67: public void setCategory(String category);
68:
69: /**
70: * Gets the parent CourseSet for this CourseSet, or null if this is a top-level CourseSet.
71: *
72: * @return
73: */
74: public CourseSet getParent();
75:
76: public void setParent(CourseSet parent);
77: }
|