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 VersionProp implements Serializable {
29: /** The serialVersionUID */
30: private static final long serialVersionUID = -699585138297339148L;
31:
32: private Integer key;
33: private String id;
34: private java.sql.Blob data;
35:
36: public VersionProp() {
37: }
38:
39: public VersionProp(String id, Blob data) {
40: this .key = null;
41: this .id = id;
42: this .data = data;
43: }
44:
45: public Integer getKey() {
46: return key;
47: }
48:
49: public void setKey(Integer key) {
50: this .key = key;
51: }
52:
53: public String getId() {
54: return id;
55: }
56:
57: public void setId(String id) {
58: this .id = id;
59: }
60:
61: public Blob getData() {
62: return data;
63: }
64:
65: public void setData(Blob data) {
66: this.data = data;
67: }
68:
69: }
|