001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/grading/ItemGradingIfc.java $
003: * $Id: ItemGradingIfc.java 9269 2006-05-10 21:31:31Z 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.grading;
021:
022: import java.util.Date;
023:
024: import org.sakaiproject.tool.assessment.data.ifc.assessment.AnswerIfc;
025: import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemDataIfc;
026: import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemTextIfc;
027:
028: public interface ItemGradingIfc extends java.io.Serializable {
029:
030: Long getItemGradingId();
031:
032: void setItemGradingId(Long itemGradingId);
033:
034: Long getAssessmentGradingId();
035:
036: void setAssessmentGradingId(Long assessmentGradingId);
037:
038: Long getPublishedItemId();
039:
040: void setPublishedItemId(Long publishedItemId);
041:
042: Long getPublishedItemTextId();
043:
044: void setPublishedItemTextId(Long publishedItemTextId);
045:
046: /*
047: AssessmentGradingIfc getAssessmentGrading();
048:
049: void setAssessmentGrading(AssessmentGradingIfc assessmentGrading);
050: */
051: /*
052: ItemDataIfc getPublishedItem();
053:
054: void setPublishedItem(ItemDataIfc publishedItem);
055:
056: ItemTextIfc getPublishedItemText();
057:
058: void setPublishedItemText(ItemTextIfc publishedItemText);
059: */
060:
061: String getAgentId();
062:
063: void setAgentId(String agentId);
064:
065: // answer stores the answer selected by students for
066: // multiple choice, multiple select and multiple response question
067: // when autograding is possible
068: void setPublishedAnswerId(Long publishedAnswerId);
069:
070: Long getPublishedAnswerId();
071:
072: AnswerIfc getPublishedAnswer();
073:
074: void setPublishedAnswer(AnswerIfc PublishedAnswer);
075:
076: // rationale stores the reason that the student provided for their choice of
077: // the selected answer
078: String getRationale();
079:
080: void setRationale(String rationale);
081:
082: // answer text stored answer submitted for SAQ, audio response, file upload
083: // when autograding is not possible and grader must read the answer before
084: // score can be awarded.
085: String getAnswerText();
086:
087: void setAnswerText(String answerText);
088:
089: Date getSubmittedDate();
090:
091: void setSubmittedDate(Date submittedDate);
092:
093: Float getAutoScore();
094:
095: void setAutoScore(Float autoScore);
096:
097: Float getOverrideScore();
098:
099: void setOverrideScore(Float overrideScore);
100:
101: // comments are added by grader
102: String getComments();
103:
104: void setComments(String comments);
105:
106: String getGradedBy();
107:
108: void setGradedBy(String gradedBy);
109:
110: Date getGradedDate();
111:
112: void setGradedDate(Date gradedDate);
113:
114: Boolean getReview();
115:
116: void setReview(Boolean review);
117: }
|