01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/trunk/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/evaluation/TotalScoresBean.java $
03: * $Id: TotalScoresBean.java 19491 2006-12-14 06:17:56Z ktsao@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.ui.bean.evaluation;
21:
22: import java.io.Serializable;
23: import java.util.HashMap;
24:
25: import org.apache.commons.logging.Log;
26: import org.apache.commons.logging.LogFactory;
27: import org.sakaiproject.tool.assessment.data.dao.grading.StudentGradingSummaryData;
28:
29: /**
30: * <p>Description: class form for evaluating total scores</p>
31: *
32: */
33: public class RetakeAssessmentBean implements Serializable {
34:
35: private Long publishedAssessmentId;
36: private String agentId;
37: private int numberRetake;
38: private StudentGradingSummaryData studentGradingSummaryData;
39: private String studentName;
40: private HashMap studentGradingSummaryDataMap;
41:
42: private static Log log = LogFactory.getLog(TotalScoresBean.class);
43:
44: public RetakeAssessmentBean() {
45: log.debug("Creating a new RetakeAssessmentBean");
46: }
47:
48: public Long getPublishedAssessmentId() {
49: return this .publishedAssessmentId;
50: }
51:
52: public void setPublishedAssessmentId(Long publishedAssessmentId) {
53: this .publishedAssessmentId = publishedAssessmentId;
54: }
55:
56: public String getAgentId() {
57: return this .agentId;
58: }
59:
60: public void setAgentId(String agentId) {
61: this .agentId = agentId;
62: }
63:
64: public int getNumberRetake() {
65: return this .numberRetake;
66: }
67:
68: public void setNumberRetake(int numberRetake) {
69: this .numberRetake = numberRetake;
70: }
71:
72: public StudentGradingSummaryData getStudentGradingSummaryData() {
73: return this .studentGradingSummaryData;
74: }
75:
76: public void setStudentGradingSummaryData(
77: StudentGradingSummaryData studentGradingSummaryData) {
78: this .studentGradingSummaryData = studentGradingSummaryData;
79: }
80:
81: public String getStudentName() {
82: return this .studentName;
83: }
84:
85: public void setStudentName(String studentName) {
86: this .studentName = studentName;
87: }
88:
89: public HashMap getStudentGradingSummaryDataMap() {
90: return this .studentGradingSummaryDataMap;
91: }
92:
93: public void setStudentGradingSummaryDataMap(
94: HashMap studentGradingSummaryDataMap) {
95: this.studentGradingSummaryDataMap = studentGradingSummaryDataMap;
96: }
97: }
|