001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/course-management/tags/sakai_2-4-1/cm-impl/hibernate-impl/hibernate/src/java/org/sakaiproject/coursemanagement/impl/EnrollmentCmImpl.java $
003: * $Id: EnrollmentCmImpl.java 13799 2006-08-16 21:14:31Z jholtzman@berkeley.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the "License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.sakaiproject.coursemanagement.impl;
021:
022: import java.io.Serializable;
023:
024: import org.sakaiproject.coursemanagement.api.Enrollment;
025: import org.sakaiproject.coursemanagement.api.EnrollmentSet;
026:
027: public class EnrollmentCmImpl extends
028: AbstractPersistentCourseManagementObjectCmImpl implements
029: Enrollment, Serializable {
030:
031: private static final long serialVersionUID = 1L;
032:
033: private String userId;
034: private EnrollmentSet enrollmentSet;
035: private String enrollmentStatus;
036: private String credits;
037: private String gradingScheme;
038: private boolean dropped;
039:
040: public EnrollmentCmImpl() {
041: }
042:
043: public EnrollmentCmImpl(String userId, EnrollmentSet enrollmentSet,
044: String enrollmentStatus, String credits,
045: String gradingScheme) {
046: this .userId = userId;
047: this .enrollmentSet = enrollmentSet;
048: this .enrollmentStatus = enrollmentStatus;
049: this .credits = credits;
050: this .gradingScheme = gradingScheme;
051: }
052:
053: public String getUserId() {
054: return userId;
055: }
056:
057: public void setUserId(String userId) {
058: this .userId = userId;
059: }
060:
061: public EnrollmentSet getEnrollmentSet() {
062: return enrollmentSet;
063: }
064:
065: public void setEnrollmentSet(EnrollmentSet enrollmentSet) {
066: this .enrollmentSet = enrollmentSet;
067: }
068:
069: public String getCredits() {
070: return credits;
071: }
072:
073: public void setCredits(String credits) {
074: this .credits = credits;
075: }
076:
077: public String getEnrollmentStatus() {
078: return enrollmentStatus;
079: }
080:
081: public void setEnrollmentStatus(String enrollmentStatus) {
082: this .enrollmentStatus = enrollmentStatus;
083: }
084:
085: public String getGradingScheme() {
086: return gradingScheme;
087: }
088:
089: public void setGradingScheme(String gradingScheme) {
090: this .gradingScheme = gradingScheme;
091: }
092:
093: public boolean isDropped() {
094: return dropped;
095: }
096:
097: public void setDropped(boolean dropped) {
098: this.dropped = dropped;
099: }
100: }
|