001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/questionpool/QuestionPoolDataIfc.java $
003: * $Id: QuestionPoolDataIfc.java 11072 2006-06-22 02:45:41Z 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.data.ifc.questionpool;
021:
022: import java.util.Collection;
023: import java.util.Date;
024: import java.util.Set;
025:
026: import org.sakaiproject.tool.assessment.data.ifc.shared.AgentDataIfc;
027: import org.sakaiproject.tool.assessment.data.ifc.shared.TypeIfc;
028:
029: /**
030: * @version $Id: QuestionPoolDataIfc.java 11072 2006-06-22 02:45:41Z daisyf@stanford.edu $
031: */
032: public interface QuestionPoolDataIfc extends java.io.Serializable,
033: Cloneable {
034:
035: Long getQuestionPoolId();
036:
037: void setQuestionPoolId(Long questionPoolId);
038:
039: String getTitle();
040:
041: void setTitle(String title);
042:
043: String getDescription();
044:
045: void setDescription(String description);
046:
047: Long getParentPoolId();
048:
049: void setParentPoolId(Long parentPoolId);
050:
051: String getOwnerId();
052:
053: void setOwnerId(String ownerId);
054:
055: AgentDataIfc getOwner();
056:
057: void setOwner(AgentDataIfc owner);
058:
059: Date getDateCreated();
060:
061: void setDateCreated(Date dateCreated);
062:
063: Date getLastModified();
064:
065: void setLastModified(Date lastModified);
066:
067: String getLastModifiedById();
068:
069: void setLastModifiedById(String lastModifiedById);
070:
071: AgentDataIfc getLastModifiedBy();
072:
073: void setLastModifiedBy(AgentDataIfc lastModifiedBy);
074:
075: Long getAccessTypeId();
076:
077: void setAccessTypeId(Long accessTypeId);
078:
079: TypeIfc getAccessType();
080:
081: void setAccessType(TypeIfc accessType);
082:
083: String getObjectives();
084:
085: void setObjectives(String objectives);
086:
087: String getKeywords();
088:
089: void setKeywords(String keywords);
090:
091: String getRubric();
092:
093: void setRubric(String rubric);
094:
095: Long getTypeId();
096:
097: void setTypeId(Long typeId);
098:
099: TypeIfc getType();
100:
101: void setType(TypeIfc type);
102:
103: Long getIntellectualPropertyId();
104:
105: void setIntellectualPropertyId(Long intellectualPropertyId);
106:
107: String getOrganizationName();
108:
109: void setOrganizationName(String organizationName);
110:
111: Set getQuestionPoolItems();
112:
113: void setQuestionPoolItems(Set questionPoolItems);
114:
115: void addQuestionPoolItem(QuestionPoolItemIfc questionPoolItem);
116:
117: Collection getQuestions();
118:
119: void setQuestions(Collection items);
120:
121: // for JSF, sigh - daisyf
122: Integer getQuestionSize();
123:
124: // for JSF, sigh - daisyf
125: void setSubPoolSize(Integer subPoolSize);
126:
127: // for JSF, sigh - daisyf
128: Integer getSubPoolSize();
129:
130: Object clone();
131: }
|