001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/test/org/sakaiproject/tool/assessment/jsf/SubBackingBean.java $
003: * $Id: SubBackingBean.java 632 2005-07-14 21:22:50Z janderse@umich.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2005 The Regents of the University of Michigan, Trustees of Indiana University,
007: * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation
008: *
009: * Licensed under the Educational Community License Version 1.0 (the "License");
010: * By obtaining, using and/or copying this Original Work, you agree that you have read,
011: * understand, and will comply with the terms and conditions of the Educational Community License.
012: * You may obtain a copy of the License at:
013: *
014: * http://cvs.sakaiproject.org/licenses/license_1_0.html
015: *
016: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
017: * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
018: * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
019: * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
020: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
021: *
022: **********************************************************************************/package test.org.sakaiproject.tool.assessment.jsf;
023:
024: import java.io.Serializable;
025: import java.util.Date;
026: import java.util.HashMap;
027:
028: /**
029: * <p> </p>
030: * <p>Description: A Test Baking Bean</p>
031: * <p>Copyright: Copyright (c) 2004</p>
032: * <p>Organization: Sakai Project</p>
033: * @author Ed Smiley
034: * @version $id: $
035: */
036:
037: public class SubBackingBean implements Serializable {
038: private String title;
039: private String name;
040: private String address;
041: private Date date;
042: private String id;
043: private HashMap map;
044:
045: public SubBackingBean() {
046: title = "General Discord";
047: name = "Name";
048: address = "address";
049: date = new Date();
050: id = "666";
051: map = new HashMap();
052: map.put("author", "author");
053: map.put("template", "template");
054: map.put("author2", "author");
055: map.put("template2", "template");
056: map.put("author3", "author");
057: map.put("template3", "template");
058: }
059:
060: public String getTitle() {
061: return title;
062: }
063:
064: public void setTitle(String t) {
065: title = t;
066: }
067:
068: public Date getDate() {
069: return date;
070: }
071:
072: public void setDate(Date d) {
073: date = d;
074: }
075:
076: public String getName() {
077: return name;
078: }
079:
080: public void setName(String p) {
081: name = p;
082: }
083:
084: public String getId() {
085: return id;
086: }
087:
088: public void setId(String p) {
089: id = p;
090: }
091:
092: public String getAddress() {
093: return address;
094: }
095:
096: public void setAddress(String p) {
097: address = p;
098: }
099:
100: public java.util.HashMap getMap() {
101: return map;
102: }
103:
104: public void setMap(java.util.HashMap map) {
105: this.map = map;
106: }
107:
108: }
|