001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/shared/SubBackingBean.java $
003: * $Id: SubBackingBean.java 15083 2006-09-20 20:03:55Z lydial@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.shared;
021:
022: import java.io.Serializable;
023: import java.util.Date;
024: import java.util.HashMap;
025:
026: /**
027: * <p> </p>
028: * <p>Description: A Sub Backing Bean</p>
029: * <p>Copyright: Copyright (c) 2004</p>
030: * <p>Organization: Sakai Project</p>
031: * @author Ed Smiley
032: * @version $id: $
033: */
034:
035: public class SubBackingBean implements Serializable {
036: /**
037: *
038: */
039: private static final long serialVersionUID = -116744576891046455L;
040: private String title;
041: private String name;
042: private String address;
043: private Date date;
044: private String id;
045: private HashMap map;
046:
047: public SubBackingBean() {
048: title = "General Discord";
049: name = "Name";
050: address = "address";
051: date = new Date();
052: id = "666";
053: map = new HashMap();
054: map.put("author", "author");
055: map.put("template", "template");
056: map.put("author2", "author");
057: map.put("template2", "template");
058: map.put("author3", "author");
059: map.put("template3", "template");
060: }
061:
062: public String getTitle() {
063: return title;
064: }
065:
066: public void setTitle(String t) {
067: title = t;
068: }
069:
070: public Date getDate() {
071: return date;
072: }
073:
074: public void setDate(Date d) {
075: date = d;
076: }
077:
078: public String getName() {
079: return name;
080: }
081:
082: public void setName(String p) {
083: name = p;
084: }
085:
086: public String getId() {
087: return id;
088: }
089:
090: public void setId(String p) {
091: id = p;
092: }
093:
094: public String getAddress() {
095: return address;
096: }
097:
098: public void setAddress(String p) {
099: address = p;
100: }
101:
102: public java.util.HashMap getMap() {
103: return map;
104: }
105:
106: public void setMap(java.util.HashMap map) {
107: this.map = map;
108: }
109:
110: }
|