KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > lob > SerializableData


1 // $Id: SerializableData.java,v 1.1 2004/11/04 21:59:22 steveebersole Exp $
2
package org.hibernate.test.lob;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * Implementation of SerializableData.
8  *
9  * @author Steve
10  */

11 public class SerializableData implements Serializable JavaDoc
12 {
13    private String JavaDoc payload;
14
15    public SerializableData(String JavaDoc payload)
16    {
17       this.payload = payload;
18    }
19
20    public String JavaDoc getPayload()
21    {
22       return payload;
23    }
24
25    public void setPayload(String JavaDoc payload)
26    {
27       this.payload = payload;
28    }
29 }
30
Popular Tags