core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java
public static byte getRecordType(final ORecord record) {
    if (record instanceof ORecordAbstract) {
      return ((ORecordAbstract) record).getRecordType();
    }
    final ORecordAbstract rec = (ORecordAbstract) record.getRecord();
    return rec.getRecordType();
  }
public static byte getRecordType(final ORecord record) {
    if (record instanceof ORecordAbstract) {
      return ((ORecordAbstract) record).getRecordType();
    }
    final ORecordAbstract rec = (ORecordAbstract) record.getRecord();
    return rec.getRecordType();
  }
public static byte getRecordType ( final ORecord record ) { if ( record instanceof ORecordAbstract ) { return ( ( ORecordAbstract ) record ) . getRecordType ( ) ; } final ORecordAbstract rec = ( ORecordAbstract ) record . getRecord ( ) ; return rec . getRecordType ( ) ; }
Internal only. Return the record type.
Internal only . Return the record type .