Source Code Cross Referenced for ItemGradingData.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » data » dao » grading » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.assessment.data.dao.grading 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**********************************************************************************
002:         * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-hibernate/src/java/org/sakaiproject/tool/assessment/data/dao/grading/ItemGradingData.java $
003:         * $Id: ItemGradingData.java 13999 2006-08-25 00:12:10Z ktsao@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.dao.grading;
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;
025:        import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemDataIfc;
026:        import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemTextIfc;
027:        import java.util.Date;
028:        import java.util.ArrayList;
029:        import java.lang.Float;
030:
031:        /**
032:         * <p>Title: </p>
033:         * <p>Description: </p>
034:         * <p>Copyright: Copyright (c) 2004</p>
035:         * <p>Company: </p>
036:         * @author not attributable
037:         * @version 1.0
038:         */
039:
040:        public class ItemGradingData implements  java.io.Serializable,
041:                ItemGradingIfc {
042:
043:            private static final long serialVersionUID = 7526471155622776147L;
044:            private Long itemGradingId;
045:            private Long assessmentGradingId;
046:            private AssessmentGradingIfc assessmentGrading;
047:            private Long publishedItemId;
048:            private Long publishedItemTextId;
049:            // private ItemDataIfc publishedItem;
050:            //private ItemTextIfc publishedItemText;
051:            private String agentId;
052:            private Long publishedAnswerId;
053:            private AnswerIfc publishedAnswer;
054:            private String rationale;
055:            private String answerText;
056:            private Date submittedDate;
057:            private Float autoScore;
058:            private Float overrideScore;
059:            private String comments;
060:            private String gradedBy;
061:            private Date gradedDate;
062:            private Boolean review;
063:            // these two properties are used by audio question in Samigo 2.2
064:            private Integer attemptsRemaining;
065:            private String lastDuration;
066:            private ArrayList mediaArray;
067:
068:            public ItemGradingData() {
069:            }
070:
071:            public ItemGradingData(Long itemGradingId, Long assessmentGradingId) {
072:                this .itemGradingId = itemGradingId;
073:                this .assessmentGradingId = assessmentGradingId;
074:            }
075:
076:            public Long getItemGradingId() {
077:                return itemGradingId;
078:            }
079:
080:            public void setItemGradingId(Long itemGradingId) {
081:                this .itemGradingId = itemGradingId;
082:            }
083:
084:            public Long getPublishedItemId() {
085:                return publishedItemId;
086:            }
087:
088:            public void setPublishedItemId(Long publishedItemId) {
089:                this .publishedItemId = publishedItemId;
090:            }
091:
092:            public Long getPublishedItemTextId() {
093:                return publishedItemTextId;
094:            }
095:
096:            public void setPublishedItemTextId(Long publishedItemTextId) {
097:                this .publishedItemTextId = publishedItemTextId;
098:            }
099:
100:            public Long getAssessmentGradingId() {
101:                return assessmentGradingId;
102:            }
103:
104:            public void setAssessmentGradingId(Long assessmentGradingId) {
105:                this .assessmentGradingId = assessmentGradingId;
106:            }
107:
108:            /*
109:            public AssessmentGradingIfc getAssessmentGrading() {
110:            return assessmentGrading;
111:            }
112:            public void setAssessmentGrading(AssessmentGradingIfc assessmentGrading) {
113:            this.assessmentGrading = assessmentGrading;
114:            setAssessmentGradingId(assessmentGrading.getAssessmentGradingId());
115:            }
116:             */
117:            /*
118:            public ItemDataIfc getPublishedItem() {
119:            return publishedItem;
120:            }
121:            public void setPublishedItem(ItemDataIfc publishedItem) {
122:            this.publishedItem = publishedItem;
123:            }
124:            public ItemTextIfc getPublishedItemText() {
125:            return publishedItemText;
126:            }
127:            public void setPublishedItemText(ItemTextIfc publishedItemText) {
128:            this.publishedItemText = publishedItemText;
129:            }
130:             */
131:
132:            public String getAgentId() {
133:                return agentId;
134:            }
135:
136:            public void setAgentId(String agentId) {
137:                this .agentId = agentId;
138:            }
139:
140:            public Long getPublishedAnswerId() {
141:                return publishedAnswerId;
142:            }
143:
144:            public void setPublishedAnswerId(Long publishedAnswerId) {
145:                this .publishedAnswerId = publishedAnswerId;
146:            }
147:
148:            public AnswerIfc getPublishedAnswer() {
149:                return publishedAnswer;
150:            }
151:
152:            public void setPublishedAnswer(AnswerIfc publishedAnswer) {
153:                this .publishedAnswer = publishedAnswer;
154:            }
155:
156:            public String getRationale() {
157:                return rationale;
158:            }
159:
160:            public void setRationale(String rationale) {
161:                this .rationale = rationale;
162:            }
163:
164:            public String getAnswerText() {
165:                return answerText;
166:            }
167:
168:            public void setAnswerText(String answerText) {
169:                this .answerText = answerText;
170:            }
171:
172:            public Date getSubmittedDate() {
173:                return submittedDate;
174:            }
175:
176:            public void setSubmittedDate(Date submittedDate) {
177:                this .submittedDate = submittedDate;
178:            }
179:
180:            public Float getAutoScore() {
181:                return autoScore;
182:            }
183:
184:            public void setAutoScore(Float autoScore) {
185:                this .autoScore = autoScore;
186:            }
187:
188:            public Float getOverrideScore() {
189:                return overrideScore;
190:            }
191:
192:            public void setOverrideScore(Float overrideScore) {
193:                this .overrideScore = overrideScore;
194:            }
195:
196:            public String getComments() {
197:                return comments;
198:            }
199:
200:            public void setComments(String comments) {
201:                this .comments = comments;
202:            }
203:
204:            public String getGradedBy() {
205:                return gradedBy;
206:            }
207:
208:            public void setGradedBy(String gradedBy) {
209:                this .gradedBy = gradedBy;
210:            }
211:
212:            public Date getGradedDate() {
213:                return gradedDate;
214:            }
215:
216:            public void setGradedDate(Date gradedDate) {
217:                this .gradedDate = gradedDate;
218:            }
219:
220:            public Boolean getReview() {
221:                return review;
222:            }
223:
224:            public void setReview(Boolean newReview) {
225:                review = newReview;
226:            }
227:
228:            public Integer getAttemptsRemaining() {
229:                return attemptsRemaining;
230:            }
231:
232:            public void setAttemptsRemaining(Integer attemptsRemaining) {
233:                this .attemptsRemaining = attemptsRemaining;
234:            }
235:
236:            public String getLastDuration() {
237:                return lastDuration;
238:            }
239:
240:            public void setLastDuration(String lastDuration) {
241:                this .lastDuration = lastDuration;
242:            }
243:
244:            public ArrayList getMediaArray() {
245:                return mediaArray;
246:            }
247:
248:            public void setMediaArray(ArrayList mediaArray) {
249:                this .mediaArray = mediaArray;
250:            }
251:
252:            public int getMediaSize() {
253:                return mediaArray.size();
254:            }
255:
256:        }
w___w___w_.__j__a___v__a___2__s__.c__o_m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.