01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/qti/XMLDisplay.java $
03: * $Id: XMLDisplay.java 15083 2006-09-20 20:03:55Z lydial@stanford.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the"License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.assessment.ui.bean.qti;
21:
22: import java.io.Serializable;
23:
24: /**
25: * <p>Bean for QTI XML or XML fragments and descriptive information. </p>
26: * <p>Used to maintain information or to dump XML to client.</p>
27: * <p>Copyright: Copyright (c) 2004 Sakai</p>
28: * @author Ed Smiley esmiley@stanford.edu
29: * @version $Id: XMLDisplay.java 15083 2006-09-20 20:03:55Z lydial@stanford.edu $
30: */
31:
32: public class XMLDisplay implements Serializable {
33: /**
34: *
35: */
36: private static final long serialVersionUID = 40775142933316177L;
37: private String name;
38: private String description;
39: private String xml;
40: private String id;
41:
42: public XMLDisplay() {
43: }
44:
45: public String getName() {
46: return name;
47: }
48:
49: public void setName(String name) {
50: this .name = name;
51: }
52:
53: public String getDescription() {
54: return description;
55: }
56:
57: public void setDescription(String description) {
58: this .description = description;
59: }
60:
61: public String getXml() {
62: return xml;
63: }
64:
65: public void setXml(String xml) {
66: this .xml = xml;
67: }
68:
69: public String getId() {
70: return id;
71: }
72:
73: public void setId(String id) {
74: this.id = id;
75: }
76:
77: }
|