core/src/main/java/com/orientechnologies/orient/core/db/record/ORecordLazyMap.java
private void convertLink2Record(final Object iKey) {
    if (status == MULTIVALUE_CONTENT_TYPE.ALL_RECORDS)
      return;

    final Object value;

    if (iKey instanceof ORID)
      value = iKey;
    else
      value = super.get(iKey);

    if (value != null && value instanceof ORID) {
      final ORID rid = (ORID) value;
      marshalling = true;
      try {
        try {
          // OVERWRITE IT
          ORecord record = rid.getRecord();
          if(record != null){
              ORecordInternal.unTrack(sourceRecord, rid);
              ORecordInternal.track(sourceRecord, record);
          }
          super.put(iKey, record);
        } catch (ORecordNotFoundException ignore) {
          // IGNORE THIS
        }
      } finally {
        marshalling = false;
      }
    }
  }
private void convertLink2Record(final Object iKey) {
    if (status == MULTIVALUE_CONTENT_TYPE.ALL_RECORDS)
      return;

    final Object value;

    if (iKey instanceof ORID)
      value = iKey;
    else
      value = super.get(iKey);

    if (value != null && value instanceof ORID) {
      final ORID rid = (ORID) value;
      marshalling = true;
      try {
        try {
          // OVERWRITE IT
          ORecord record = rid.getRecord();
          if(record != null){
              ORecordInternal.unTrack(sourceRecord, rid);
              ORecordInternal.track(sourceRecord, record);
          }
          super.put(iKey, record);
        } catch (ORecordNotFoundException ignore) {
          // IGNORE THIS
        }
      } finally {
        marshalling = false;
      }
    }
  }
private void convertLink2Record ( final Object iKey ) { if ( status == MULTIVALUE_CONTENT_TYPE . ALL_RECORDS ) return ; final Object value ; if ( iKey instanceof ORID ) value = iKey ; else value = super . get ( iKey ) ; if ( value != null && value instanceof ORID ) { final ORID rid = ( ORID ) value ; marshalling = true ; try { try { // OVERWRITE IT
 ORecord record = rid . getRecord ( ) ; if ( record != null ) { ORecordInternal . unTrack ( sourceRecord , rid ) ; ORecordInternal . track ( sourceRecord , record ) ; } super . put ( iKey , record ) ; } catch ( ORecordNotFoundException ignore ) { // IGNORE THIS
 } } finally { marshalling = false ; } } }
Convert the item with the received key to a record.

@param iKey
Key of the item to convert
Convert the item with the received key to a record .