wodka.test
Class DummyPersistable
java.lang.Object
wodka.test.DummyPersistable
- All Implemented Interfaces:
- java.io.Serializable, StreamPersistable
- public class DummyPersistable
- extends java.lang.Object
- implements StreamPersistable
A dummy class for the fillCollectionFromStream( ... ).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyPersistable
public DummyPersistable()
setNam
public void setNam(java.lang.String val)
getNam
public java.lang.String getNam()
add
public void add(java.lang.Object o)
getCollection
public java.util.Collection getCollection()
toStream
public void toStream(java.io.DataOutputStream s)
throws java.io.IOException
- Specified by:
toStream
in interface StreamPersistable
- Throws:
java.io.IOException
fromStream
public void fromStream(java.io.DataInputStream s,
int version)
throws java.io.IOException
- Specified by:
fromStream
in interface StreamPersistable
- Throws:
java.io.IOException
getVersion
public int getVersion()
- Specified by:
getVersion
in interface StreamPersistable