public static void serialize(
      SerializationStreamWriter streamWriter,
      com.openkm.frontend.client.bean.form.GWTUpload instance)
      throws SerializationException {
    streamWriter.writeString(getData(instance));
    streamWriter.writeString(getDocumentName(instance));
    streamWriter.writeString(getDocumentUuid(instance));
    streamWriter.writeString(getFolderPath(instance));
    streamWriter.writeString(getFolderUuid(instance));
    streamWriter.writeString(getType(instance));
    streamWriter.writeObject(getValidators(instance));

    com.openkm.frontend.client.bean.form.GWTFormElement_FieldSerializer.serialize(
        streamWriter, instance);
  }
  public static void deserialize(
      SerializationStreamReader streamReader,
      com.openkm.frontend.client.bean.form.GWTUpload instance)
      throws SerializationException {
    setData(instance, streamReader.readString());
    setDocumentName(instance, streamReader.readString());
    setDocumentUuid(instance, streamReader.readString());
    setFolderPath(instance, streamReader.readString());
    setFolderUuid(instance, streamReader.readString());
    setType(instance, streamReader.readString());
    setValidators(instance, (java.util.List) streamReader.readObject());

    com.openkm.frontend.client.bean.form.GWTFormElement_FieldSerializer.deserialize(
        streamReader, instance);
  }