01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/course-management/tags/sakai_2-4-1/cm-api/api/src/java/org/sakaiproject/coursemanagement/api/Enrollment.java $
03: * $Id: Enrollment.java 15161 2006-09-22 20:33:57Z 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: * The official relationship of a student to something that gets a final grade
24: * (or equivalent).
25: *
26: * @author <a href="mailto:jholtzman@berkeley.edu">Josh Holtzman</a>
27: */
28: public interface Enrollment {
29: public String getUserId();
30:
31: public void setUserId(String userId);
32:
33: public String getAuthority();
34:
35: public void setAuthority(String authority);
36:
37: public String getEnrollmentStatus();
38:
39: public void setEnrollmentStatus(String enrollmentStatus);
40:
41: public String getCredits();
42:
43: public void setCredits(String credits);
44:
45: public String getGradingScheme();
46:
47: public void setGradingScheme(String gradingScheme);
48:
49: public boolean isDropped();
50:
51: public void setDropped(boolean dropped);
52:
53: }
|