001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/cms/CourseManagementBean.java $
003: * $Id: CourseManagementBean.java 9268 2006-05-10 21:27:24Z daisyf@stanford.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2004, 2005, 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.tool.assessment.ui.bean.cms;
021:
022: import java.util.ArrayList;
023: import java.io.Serializable;
024: import org.sakaiproject.tool.assessment.facade.AgentFacade;
025:
026: /**
027: * <p>Course Management Bean </p>
028: * <p>Stub for now. </p>
029: * <p>Copyright: Copyright (c) 2004 Sakai</p>
030: * <p> </p>
031: * @author Ed Smiley
032: * @version $Id: CourseManagementBean.java 9268 2006-05-10 21:27:24Z daisyf@stanford.edu $
033: */
034:
035: public class CourseManagementBean implements Serializable {
036: private String courseName;
037: private String courseIdString;
038: private String instructor;
039: private String instructorIdString;
040: private ArrayList sectionList;
041: private ArrayList groupList;
042: private String syllabus;
043:
044: public CourseManagementBean() {
045: courseName = AgentFacade.getCurrentSiteName();
046: courseIdString = AgentFacade.getCurrentSiteId();
047: instructor = "Rachel Gollub";
048: instructorIdString = "rgollub";
049: syllabus = "To boldly go where no assessment manager has gone before.";
050: sectionList = new ArrayList();
051: sectionList.add("section 1");
052: sectionList.add("section 2");
053: sectionList.add("section 3");
054: groupList = new ArrayList();
055: groupList.add("Group One");
056: groupList.add("Group Two");
057: }
058:
059: public String getCourseName() {
060: return courseName;
061: }
062:
063: public void setCourseName(String courseName) {
064: this .courseName = courseName;
065: }
066:
067: public String getCourseIdString() {
068: return courseIdString;
069: }
070:
071: public void setCourseIdString(String courseIdString) {
072: this .courseIdString = courseIdString;
073: }
074:
075: public String getInstructor() {
076: return instructor;
077: }
078:
079: public void setInstructor(String instructor) {
080: this .instructor = instructor;
081: }
082:
083: public String getInstructorIdString() {
084: return instructorIdString;
085: }
086:
087: public void setInstructorIdString(String instructorIdStrintg) {
088: this .instructorIdString = instructorIdStrintg;
089: }
090:
091: public java.util.ArrayList getSectionList() {
092: return sectionList;
093: }
094:
095: public void setSectionList(java.util.ArrayList sectionList) {
096: this .sectionList = sectionList;
097: }
098:
099: public java.util.ArrayList getGroupList() {
100: return groupList;
101: }
102:
103: public void setGroupList(java.util.ArrayList groupList) {
104: this .groupList = groupList;
105: }
106:
107: public String getSyllabus() {
108: return syllabus;
109: }
110:
111: public void setSyllabus(String syllabus) {
112: this.syllabus = syllabus;
113: }
114: }
|