core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java
public static ORecordAbstract setIdentity(final ORecord record, final ORecordId iIdentity) {
    final ORecordAbstract rec = (ORecordAbstract) record;
    rec.setIdentity(iIdentity);
    return rec;
  }
public static ORecordAbstract setIdentity(final ORecord record, final ORecordId iIdentity) {
    final ORecordAbstract rec = (ORecordAbstract) record;
    rec.setIdentity(iIdentity);
    return rec;
  }
public static ORecordAbstract setIdentity ( final ORecord record , final ORecordId iIdentity ) { final ORecordAbstract rec = ( ORecordAbstract ) record ; rec . setIdentity ( iIdentity ) ; return rec ; }
Internal only. Changes the identity of the record.
Internal only . Changes the identity of the record .