/** * Writes the study data object to the supplied stream. * * @param dos - the stream to write to. * @throws IOException */ public void write(DataOutputStream dos) throws IOException { dos.writeInt(getId()); PersistentHelper.writeMedium(getForms(), dos); }