code: private void convert(final int iIndex) {
      if (converted || !convertToRecord)
        return;
  
      Object o = list.get(iIndex);
      if (o == null) {
  
        final ODatabaseRecord database = getDatabase().getUnderlying();
  
        o = recordList.get(iIndex);
        ODocument doc;
        if (o instanceof ORID) {
          doc = database.load((ORID) o, fetchPlan);
        } else {
          doc = (ODocument) o;
        }
        list.set(iIndex,
            OObjectEntityEnhancer.getInstance().getProxiedInstance(doc.getClassName(), getDatabase().getEntityManager(), doc));
      }
    }
docs: Convert the item requested.
  
  @param iIndex
  Position of the item to convert