@Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   objectId = in.readUTF();
   amount = in.readInt();
 }
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   name = in.readUTF();
 }