001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/questionpool/TestPool.java $
003: * $Id: TestPool.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.questionpool;
021:
022: public class TestPool {
023:
024: private String name;
025: private String creator;
026: private String lastModified;
027: private int noQuestions;
028: private int nosubpools;
029: private String trid;
030: private String level;
031:
032: /**
033: * noarg constructor, required for managed beans.
034: */
035: public TestPool(String name, String creator, String lastModified,
036: int no1, int no2, String trowid, String level) {
037: this .name = name;
038: this .creator = creator;
039: this .lastModified = lastModified;
040: this .noQuestions = no1;
041: this .nosubpools = no2;
042: this .trid = trowid;
043: this .level = level;
044: }
045:
046: public String getLevel() {
047: return level;
048: }
049:
050: public void setLevel(String param) {
051: level = param;
052: }
053:
054: public String getTrid() {
055: return trid;
056: }
057:
058: public void setTrid(String param) {
059: trid = param;
060: }
061:
062: //Property
063: public String getName() {
064: return name;
065: }
066:
067: //Property
068: public String getCreator() {
069: return creator;
070: }
071:
072: //Property
073: public String getLastModified() {
074: return lastModified;
075: }
076:
077: //Property
078: public int getNoQuestions() {
079: return noQuestions;
080: }
081:
082: //Property
083: public int getNosubpools() {
084: return nosubpools;
085: }
086:
087: //Property
088: public void setName(String string) {
089: name = string;
090: }
091:
092: //Property
093: public void setCreator(String param) {
094: creator = param;
095: }
096:
097: //Property
098: public void setLastModified(String param) {
099: lastModified = param;
100: }
101:
102: public void setNoQuestions(int param) {
103: noQuestions = param;
104: }
105:
106: public void setNosubpools(int param) {
107: nosubpools = param;
108: }
109:
110: }
|