store
Interface Storable

All Known Implementing Classes:
UserAccount

public interface Storable

This interface defines the methods that a class must implement in order to be stored in RMS using the methods of the StorableObject class.


Method Summary
 void readFields(java.io.DataInputStream in)
          Read in the values of this object.
 void writeFields(java.io.DataOutputStream out)
          Write out the values of this object.
 

Method Detail

writeFields

public void writeFields(java.io.DataOutputStream out)
                 throws java.io.IOException
Write out the values of this object. Note that if there are fields in the super class that should be written also, then this method should call super.writeFields(out) in addition to doing the explicit output calls for its own fields.

Parameters:
out - the DataOutputStream on which to write the data
java.io.IOException

readFields

public void readFields(java.io.DataInputStream in)
                throws java.io.IOException
Read in the values of this object. Note that if there are fields in the super class that should be read also, then this method should call super.readFields(in) in addition to doing the explicit input calls for its own fields.

Parameters:
in - the DataInputStream from which to read the data
java.io.IOException