@Override
  public boolean setContentRecordId(final int recordId,
                                    final int contentRef) throws IOException {
    checkValidIdField(recordId, contentRef, "contentRecordId");
    final boolean reallyChanged = getIntField(recordId, RecordLayout.CONTENT_REF_OFFSET) != contentRef;
    if (reallyChanged) {
      setIntField(recordId, RecordLayout.CONTENT_REF_OFFSET, contentRef);
    }
    return reallyChanged;
  }
@Override
  public boolean setContentRecordId(final int recordId,
                                    final int contentRef)