@Override
  public ODocument toStream() {
    document.setInternalStatus(ORecordElement.STATUS.UNMARSHALLING);
    try {
      serializeToStream();
    } finally {
      document.setInternalStatus(ORecordElement.STATUS.LOADED);
    }

    return document;
  }
@Override
  public ODocument toStream() {
    document.setInternalStatus(ORecordElement.STATUS.UNMARSHALLING);
    try {
      serializeToStream();
    } finally {
      document.setInternalStatus(ORecordElement.STATUS.LOADED);
    }

    return document;
  }
@ Override public ODocument toStream ( ) { document . setInternalStatus ( ORecordElement . STATUS . UNMARSHALLING ) ; try { serializeToStream ( ) ; } finally { document . setInternalStatus ( ORecordElement . STATUS . LOADED ) ; } return document ; }
{@inheritDoc}
{