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/EvaluationModelIfc.java $
03: * $Id: EvaluationModelIfc.java 18165 2006-11-16 01:38:45Z lydial@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: /**
23: * This keeps track of the submission scheme, and the number allowed.
24: *
25: * @author Rachel Gollub
26: */
27: public interface EvaluationModelIfc extends java.io.Serializable {
28:
29: public static final Integer ANONYMOUS_GRADING = new Integer(1);
30: public static final Integer NON_ANONYMOUS_GRADING = new Integer(2);
31: public static final Integer GRADEBOOK_NOT_AVAILABLE = new Integer(0);
32: public static final Integer TO_DEFAULT_GRADEBOOK = new Integer(1);
33: //public static Integer TO_SELECTED_GRADEBOOK = new Integer(2); // this is confusing, we are using 2 for 'None' but the name is confusing,
34: public static final Integer NOT_TO_GRADEBOOK = new Integer(2); // so now we added this new constant, SAK-7162
35: public static final Integer TO_SELECTED_GRADEBOOK = new Integer(3); // not used, but leave it for now
36:
37: // scoring type
38: public static final Integer HIGHEST_SCORE = new Integer(1);
39: //public static Integer AVERAGE_SCORE = new Integer(2);
40: public static final Integer LAST_SCORE = new Integer(2);
41: public static final Integer ALL_SCORE = new Integer(3);
42:
43: Long getId();
44:
45: void setId(Long id);
46:
47: void setAssessmentBase(AssessmentBaseIfc assessmentBase);
48:
49: AssessmentBaseIfc getAssessmentBase();
50:
51: String getEvaluationComponents();
52:
53: void setEvaluationComponents(String evaluationComponents);
54:
55: Integer getScoringType();
56:
57: void setScoringType(Integer scoringType);
58:
59: String getNumericModelId();
60:
61: void setNumericModelId(String numericModelId);
62:
63: Integer getFixedTotalScore();
64:
65: void setFixedTotalScore(Integer fixedTotalScore);
66:
67: Integer getGradeAvailable();
68:
69: void setGradeAvailable(Integer gradeAvailable);
70:
71: Integer getIsStudentIdPublic();
72:
73: void setAnonymousGrading(Integer anonymousGrading);
74:
75: Integer getAnonymousGrading();
76:
77: void setAutoScoring(Integer autoScoring);
78:
79: Integer getAutoScoring();
80:
81: void setIsStudentIdPublic(Integer isStudentIdPublic);
82:
83: String getToGradeBook();
84:
85: void setToGradeBook(String toGradeBook);
86: }
|