public static void serialize( SerializationStreamWriter streamWriter, edu.pdx.cs410J.mwk2.client.PhoneBill instance) throws SerializationException { streamWriter.writeString(getCustomer(instance)); streamWriter.writeObject(getPhoneCalls(instance)); edu.pdx.cs410J.AbstractPhoneBill_FieldSerializer.serialize(streamWriter, instance); }
public static void deserialize( SerializationStreamReader streamReader, edu.pdx.cs410J.mwk2.client.PhoneBill instance) throws SerializationException { setCustomer(instance, streamReader.readString()); setPhoneCalls(instance, (java.util.ArrayList) streamReader.readObject()); edu.pdx.cs410J.AbstractPhoneBill_FieldSerializer.deserialize(streamReader, instance); }