public void readData(IDataInput din)
 {
     WebServiceId = din.readUTF();
     QuantityId = din.readUTF();
     TimeStamp = din.readUTF();
     ElementSetId = din.readUTF();
     ScenarioId = din.readUTF();
     NeedsUpload = din.readBoolean();
     DataLength = din.readInt();
     DataBytes = new byte[DataLength];
     din.readFully(DataBytes);
 }
 public void readData(IDataInput din)
 {
     ElementSetId = din.readUTF();
     DataLength = din.readInt();
     DataBytes = new byte[DataLength];
     din.readFully(DataBytes);
 }