01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/assessment/AnswerIfc.java $
03: * $Id: AnswerIfc.java 9269 2006-05-10 21:31:31Z daisyf@stanford.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the"License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.assessment.data.ifc.assessment;
21:
22: import java.util.ArrayList;
23: import java.util.HashMap;
24: import java.util.Set;
25:
26: public interface AnswerIfc extends java.io.Serializable {
27: Long getId();
28:
29: void setId(Long id);
30:
31: ItemTextIfc getItemText();
32:
33: void setItemText(ItemTextIfc itemText);
34:
35: ItemDataIfc getItem();
36:
37: void setItem(ItemDataIfc item);
38:
39: String getText();
40:
41: void setText(String text);
42:
43: Long getSequence();
44:
45: void setSequence(Long sequence);
46:
47: String getLabel();
48:
49: void setLabel(String label);
50:
51: Boolean getIsCorrect();
52:
53: void setIsCorrect(Boolean isCorrect);
54:
55: String getGrade();
56:
57: void setGrade(String grade);
58:
59: Float getScore();
60:
61: void setScore(Float score);
62:
63: Set getAnswerFeedbackSet();
64:
65: ArrayList getAnswerFeedbackArray();
66:
67: void setAnswerFeedbackSet(Set answerFeedbackSet);
68:
69: String getAnswerFeedback(String typeId);
70:
71: HashMap getAnswerFeedbackMap();
72:
73: String getCorrectAnswerFeedback();
74:
75: String getInCorrectAnswerFeedback();
76:
77: String getGeneralAnswerFeedback();
78:
79: }
|