/** Write the booleans that this object uses to a BooleanStream */
  @Override
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut)
      throws IOException {
    JournalTransaction info = (JournalTransaction) o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getTransactionId(), dataOut);
    dataOut.writeByte(info.getType());
    dataOut.writeBoolean(info.getWasPrepared());
  }
  /** Write the booleans that this object uses to a BooleanStream */
  @Override
  public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
      throws IOException {
    JournalTransaction info = (JournalTransaction) o;

    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getTransactionId(), bs);
    bs.writeBoolean(info.getWasPrepared());

    return rc + 1;
  }