wodka.test
Class DummyPersistable

java.lang.Object
  extended bywodka.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

Constructor Summary
DummyPersistable()
           
 
Method Summary
 void add(java.lang.Object o)
           
 void fromStream(java.io.DataInputStream s, int version)
           
 java.util.Collection getCollection()
           
 java.lang.String getNam()
           
 int getVersion()
           
 void setNam(java.lang.String val)
           
 void toStream(java.io.DataOutputStream s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyPersistable

public DummyPersistable()
Method Detail

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