001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/PublishedAssessmentBean.java $
003: * $Id: PublishedAssessmentBean.java 9268 2006-05-10 21:27:24Z 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.ui.bean.author;
021:
022: import java.io.Serializable;
023: import java.util.ArrayList;
024:
025: import org.apache.commons.logging.Log;
026: import org.apache.commons.logging.LogFactory;
027:
028: /**
029: * @author rshastri
030: *
031: * To change the template for this generated type comment go to
032: * Window>Preferences>Java>Code Generation>Code and Comments
033: *
034: * Used to be org.navigoproject.ui.web.asi.author.assessment.published.PublishedAssessmentActionForm.java
035: */
036: public class PublishedAssessmentBean implements Serializable {
037: private static Log log = LogFactory
038: .getLog(PublishedAssessmentBean.class);
039:
040: /** Use serialVersionUID for interoperability. */
041: private final static long serialVersionUID = 206375673822116682L;
042: private int hours;
043: private int minutes;
044: private int weeks;
045: private int days;
046: private String username;
047: private String publishedID;
048: private String publish_start_day;
049: private int publish_start_hours;
050: private int publish_start_minutes;
051: private String publish_end_day;
052: private int publish_end_hours;
053: private int publish_end_minutes;
054: private String publish_retract_day;
055: private int publish_retract_hours;
056: private int publish_retract_minutes;
057: private String feedback_delivery_day;
058: private int feedback_delivery_hours;
059: private int feedback_delivery_minutes;
060: private ArrayList courseList;
061: private ArrayList groupList;
062: private ArrayList assessmentReleasedTo_SelectedList;
063: private ArrayList assessmentPublishedElements;
064: private ArrayList existingTemplates;
065:
066: //*************For Publishing Confirmation**************************
067: private String confirmation_publishedId;
068: private String confirmation_start_date;
069: private String confirmation_end_date;
070: private String confirmation_retract_date;
071: private String confirmation_max_attemps;
072: private ArrayList confirmation_released_to;
073: private String isActive;
074: private String publishedName;
075: private String maxAttempts;
076:
077: /**
078: * @return
079: */
080: public ArrayList getAssessmentPublishedElements() {
081: return assessmentPublishedElements;
082: }
083:
084: /**
085: * @return
086: */
087: public ArrayList getAssessmentReleasedTo_SelectedList() {
088: return assessmentReleasedTo_SelectedList;
089: }
090:
091: /**
092: * @return
093: */
094: public String getConfirmation_end_date() {
095: return confirmation_end_date;
096: }
097:
098: /**
099: * @return
100: */
101: public String getConfirmation_max_attemps() {
102: return confirmation_max_attemps;
103: }
104:
105: /**
106: * @return
107: */
108: public String getConfirmation_publishedId() {
109: return confirmation_publishedId;
110: }
111:
112: /**
113: * @return
114: */
115: public ArrayList getConfirmation_released_to() {
116: return confirmation_released_to;
117: }
118:
119: /**
120: * @return
121: */
122: public String getConfirmation_retract_date() {
123: return confirmation_retract_date;
124: }
125:
126: /**
127: * @return
128: */
129: public String getConfirmation_start_date() {
130: return confirmation_start_date;
131: }
132:
133: /**
134: * @return
135: */
136: public ArrayList getCourseList() {
137: return courseList;
138: }
139:
140: /**
141: * @return
142: */
143: public int getDays() {
144: return days;
145: }
146:
147: /**
148: * @return
149: */
150: public ArrayList getExistingTemplates() {
151: return existingTemplates;
152: }
153:
154: /**
155: * @return
156: */
157: public String getFeedback_delivery_day() {
158: return feedback_delivery_day;
159: }
160:
161: /**
162: * @return
163: */
164: public int getFeedback_delivery_hours() {
165: return feedback_delivery_hours;
166: }
167:
168: /**
169: * @return
170: */
171: public int getFeedback_delivery_minutes() {
172: return feedback_delivery_minutes;
173: }
174:
175: /**
176: * @return
177: */
178: public ArrayList getGroupList() {
179: return groupList;
180: }
181:
182: /**
183: * @return
184: */
185: public int getHours() {
186: return hours;
187: }
188:
189: /**
190: * @return
191: */
192: public int getMinutes() {
193: return minutes;
194: }
195:
196: /**
197: * @return
198: */
199: public String getPublish_end_day() {
200: return publish_end_day;
201: }
202:
203: /**
204: * @return
205: */
206: public int getPublish_end_hours() {
207: return publish_end_hours;
208: }
209:
210: /**
211: * @return
212: */
213: public int getPublish_end_minutes() {
214: return publish_end_minutes;
215: }
216:
217: /**
218: * @return
219: */
220: public String getPublish_retract_day() {
221: return publish_retract_day;
222: }
223:
224: /**
225: * @return
226: */
227: public int getPublish_retract_hours() {
228: return publish_retract_hours;
229: }
230:
231: /**
232: * @return
233: */
234: public int getPublish_retract_minutes() {
235: return publish_retract_minutes;
236: }
237:
238: /**
239: * @return
240: */
241: public String getPublish_start_day() {
242: return publish_start_day;
243: }
244:
245: /**
246: * @return
247: */
248: public int getPublish_start_hours() {
249: return publish_start_hours;
250: }
251:
252: /**
253: * @return
254: */
255: public int getPublish_start_minutes() {
256: return publish_start_minutes;
257: }
258:
259: /**
260: * @return
261: */
262: public String getUsername() {
263: return username;
264: }
265:
266: /**
267: * @return
268: */
269: public int getWeeks() {
270: return weeks;
271: }
272:
273: /**
274: * @return
275: */
276: public String getPublishedName() {
277: return publishedName;
278: }
279:
280: /**
281: * @param list
282: */
283: public void setAssessmentPublishedElements(ArrayList list) {
284: assessmentPublishedElements = list;
285: }
286:
287: /**
288: * @param list
289: */
290: public void setAssessmentReleasedTo_SelectedList(ArrayList list) {
291: assessmentReleasedTo_SelectedList = list;
292: }
293:
294: /**
295: * @param string
296: */
297: public void setConfirmation_end_date(String string) {
298: confirmation_end_date = string;
299: }
300:
301: /**
302: * @param string
303: */
304: public void setConfirmation_max_attemps(String string) {
305: confirmation_max_attemps = string;
306: }
307:
308: /**
309: * @param string
310: */
311: public void setConfirmation_publishedId(String string) {
312: confirmation_publishedId = string;
313: }
314:
315: /**
316: * @param list
317: */
318: public void setConfirmation_released_to(ArrayList list) {
319: confirmation_released_to = list;
320: }
321:
322: /**
323: * @param string
324: */
325: public void setConfirmation_retract_date(String string) {
326: confirmation_retract_date = string;
327: }
328:
329: /**
330: * @param string
331: */
332: public void setConfirmation_start_date(String string) {
333: confirmation_start_date = string;
334: }
335:
336: /**
337: * @param list
338: */
339: public void setCourseList(ArrayList list) {
340: courseList = list;
341: }
342:
343: /**
344: * @param i
345: */
346: public void setDays(int i) {
347: days = i;
348: }
349:
350: /**
351: * @param list
352: */
353: public void setExistingTemplates(ArrayList list) {
354: existingTemplates = list;
355: }
356:
357: /**
358: * @param string
359: */
360: public void setFeedback_delivery_day(String string) {
361: feedback_delivery_day = string;
362: }
363:
364: /**
365: * @param i
366: */
367: public void setFeedback_delivery_hours(int i) {
368: feedback_delivery_hours = i;
369: }
370:
371: /**
372: * @param i
373: */
374: public void setFeedback_delivery_minutes(int i) {
375: feedback_delivery_minutes = i;
376: }
377:
378: /**
379: * @param list
380: */
381: public void setGroupList(ArrayList list) {
382: groupList = list;
383: }
384:
385: /**
386: * @param i
387: */
388: public void setHours(int i) {
389: hours = i;
390: }
391:
392: /**
393: * @param i
394: */
395: public void setMinutes(int i) {
396: minutes = i;
397: }
398:
399: /**
400: * @param string
401: */
402: public void setPublish_end_day(String string) {
403: publish_end_day = string;
404: }
405:
406: /**
407: * @param i
408: */
409: public void setPublish_end_hours(int i) {
410: publish_end_hours = i;
411: }
412:
413: /**
414: * @param i
415: */
416: public void setPublish_end_minutes(int i) {
417: publish_end_minutes = i;
418: }
419:
420: /**
421: * @param string
422: */
423: public void setPublish_retract_day(String string) {
424: publish_retract_day = string;
425: }
426:
427: /**
428: * @param i
429: */
430: public void setPublish_retract_hours(int i) {
431: publish_retract_hours = i;
432: }
433:
434: /**
435: * @param i
436: */
437: public void setPublish_retract_minutes(int i) {
438: publish_retract_minutes = i;
439: }
440:
441: /**
442: * @param string
443: */
444: public void setPublish_start_day(String string) {
445: publish_start_day = string;
446: }
447:
448: /**
449: * @param i
450: */
451: public void setPublish_start_hours(int i) {
452: publish_start_hours = i;
453: }
454:
455: /**
456: * @param i
457: */
458: public void setPublish_start_minutes(int i) {
459: publish_start_minutes = i;
460: }
461:
462: /**
463: * @param string
464: */
465: public void setUsername(String string) {
466: username = string;
467: }
468:
469: /**
470: * @param i
471: */
472: public void setWeeks(int i) {
473: weeks = i;
474: }
475:
476: /**
477: * @return
478: */
479: public String getIsActive() {
480: return isActive;
481: }
482:
483: /**
484: * @param string
485: */
486: public void setIsActive(String string) {
487: isActive = string;
488: }
489:
490: /**
491: * @return
492: */
493: public String getMaxAttempts() {
494: return maxAttempts;
495: }
496:
497: /**
498: * @param string
499: */
500: public void setMaxAttempts(String string) {
501: maxAttempts = string;
502: }
503:
504: /**
505: * @return
506: */
507: public String getPublishedID() {
508: return publishedID;
509: }
510:
511: /**
512: * @param string
513: */
514: public void setPublishedID(String string) {
515: publishedID = string;
516: }
517:
518: /**
519: * @param string
520: */
521: public void setPublishedName(String name) {
522: publishedName = name;
523: }
524: }
|