01: /******************************************************************************
02: * JBoss, a division of Red Hat *
03: * Copyright 2006, Red Hat Middleware, LLC, and individual *
04: * contributors as indicated by the @authors tag. See the *
05: * copyright.txt in the distribution for a full listing of *
06: * individual contributors. *
07: * *
08: * This is free software; you can redistribute it and/or modify it *
09: * under the terms of the GNU Lesser General Public License as *
10: * published by the Free Software Foundation; either version 2.1 of *
11: * the License, or (at your option) any later version. *
12: * *
13: * This software is distributed in the hope that it will be useful, *
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16: * Lesser General Public License for more details. *
17: * *
18: * You should have received a copy of the GNU Lesser General Public *
19: * License along with this software; if not, write to the Free *
20: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22: ******************************************************************************/package org.jboss.portal.migration.model24.cms.state;
23:
24: import java.io.Serializable;
25: import java.sql.Blob;
26:
27: /** @author <a href="mailto:roy@jboss.org">Roy Russo</a> */
28: public class WSPNode implements Serializable {
29: /** The serialVersionUID */
30: private static final long serialVersionUID = 624216529218745492L;
31: private Integer key;
32: private String id;
33: private java.sql.Blob data;
34:
35: public WSPNode() {
36: }
37:
38: public WSPNode(String id, Blob data) {
39: this .key = null;
40: this .id = id;
41: this .data = data;
42: }
43:
44: public Integer getKey() {
45: return key;
46: }
47:
48: public void setKey(Integer key) {
49: this .key = key;
50: }
51:
52: public String getId() {
53: return id;
54: }
55:
56: public void setId(String id) {
57: this .id = id;
58: }
59:
60: public Blob getData() {
61: return data;
62: }
63:
64: public void setData(Blob data) {
65: this.data = data;
66: }
67: }
|