001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/facade/ItemGradingFacade.java $
003: * $Id: ItemGradingFacade.java 9273 2006-05-10 22:34:28Z 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.facade;
021:
022: //import org.sakaiproject.tool.assessment.data.ifc.grading.AssessmentGradingIfc;
023: import org.sakaiproject.tool.assessment.data.ifc.grading.ItemGradingIfc;
024: import org.sakaiproject.tool.assessment.data.ifc.assessment.AnswerIfc; //import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemDataIfc;
025: //import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemTextIfc;
026: import java.util.Date;
027: import java.lang.Float;
028:
029: public class ItemGradingFacade implements ItemGradingIfc
030: // need to implement org.osid.assessment.ItemTaken in the future
031: // - daisyf 10/11/04
032: {
033: /**
034: *
035: */
036: private static final long serialVersionUID = 6779809228748217781L;
037: private Long itemGradingId;
038: private Long assessmentGradingId;
039: private Long publishedItemId;
040: private Long publishedItemTextId;
041: //private ItemDataIfc publishedItem;
042: //private ItemTextIfc publishedItemText;
043: private String agentId;
044: private Long publishedAnswerId;
045: private AnswerIfc publishedAnswer;
046: private String rationale;
047: private String answerText;
048: private Date submittedDate;
049: private Float autoScore;
050: private Float overrideScore;
051: private String comments;
052: private String gradedBy;
053: private Date gradedDate;
054: private Boolean review;
055:
056: public ItemGradingFacade() {
057: }
058:
059: public Long getItemGradingId() {
060: return itemGradingId;
061: }
062:
063: public void setItemGradingId(Long itemGradingId) {
064: this .itemGradingId = itemGradingId;
065: }
066:
067: public Long getAssessmentGradingId() {
068: return assessmentGradingId;
069: }
070:
071: public void setAssessmentGradingId(Long assessmentGradingId) {
072: this .assessmentGradingId = assessmentGradingId;
073: }
074:
075: public Long getPublishedItemId() {
076: return publishedItemId;
077: }
078:
079: public void setPublishedItemId(Long publishedItemId) {
080: this .publishedItemId = publishedItemId;
081: }
082:
083: public Long getPublishedItemTextId() {
084: return publishedItemTextId;
085: }
086:
087: public void setPublishedItemTextId(Long publishedItemTextId) {
088: this .publishedItemTextId = publishedItemTextId;
089: }
090:
091: /*
092: public ItemDataIfc getPublishedItem() {
093: return publishedItem;
094: }
095: public void setPublishedItem(ItemDataIfc publishedItem) {
096: this.publishedItem = publishedItem;
097: }
098: public ItemTextIfc getPublishedItemText() {
099: return publishedItemText;
100: }
101: public void setPublishedItemText(ItemTextIfc publishedItemText) {
102: this.publishedItemText = publishedItemText;
103: }
104: */
105:
106: public String getAgentId() {
107: return agentId;
108: }
109:
110: public void setAgentId(String agentId) {
111: this .agentId = agentId;
112: }
113:
114: public Long getPublishedAnswerId() {
115: return publishedAnswerId;
116: }
117:
118: public void setPublishedAnswerId(Long publishedAnswerId) {
119: this .publishedAnswerId = publishedAnswerId;
120: }
121:
122: public AnswerIfc getPublishedAnswer() {
123: return publishedAnswer;
124: }
125:
126: public void setPublishedAnswer(AnswerIfc publishedAnswer) {
127: this .publishedAnswer = publishedAnswer;
128: }
129:
130: public String getRationale() {
131: return rationale;
132: }
133:
134: public void setRationale(String rationale) {
135: this .rationale = rationale;
136: }
137:
138: public String getAnswerText() {
139: return answerText;
140: }
141:
142: public void setAnswerText(String answerText) {
143: this .answerText = answerText;
144: }
145:
146: public Date getSubmittedDate() {
147: return submittedDate;
148: }
149:
150: public void setSubmittedDate(Date submittedDate) {
151: this .submittedDate = submittedDate;
152: }
153:
154: public Float getAutoScore() {
155: return autoScore;
156: }
157:
158: public void setAutoScore(Float autoScore) {
159: this .autoScore = autoScore;
160: }
161:
162: public Float getOverrideScore() {
163: return overrideScore;
164: }
165:
166: public void setOverrideScore(Float overrideScore) {
167: this .overrideScore = overrideScore;
168: }
169:
170: public String getComments() {
171: return comments;
172: }
173:
174: public void setComments(String comments) {
175: this .comments = comments;
176: }
177:
178: public String getGradedBy() {
179: return gradedBy;
180: }
181:
182: public void setGradedBy(String gradedBy) {
183: this .gradedBy = gradedBy;
184: }
185:
186: public Date getGradedDate() {
187: return gradedDate;
188: }
189:
190: public void setGradedDate(Date gradedDate) {
191: this .gradedDate = gradedDate;
192: }
193:
194: public Boolean getReview() {
195: return review;
196: }
197:
198: public void setReview(Boolean newReview) {
199: review = newReview;
200: }
201: }
|