private boolean isRecordInstanceOf(Object iRecord, String orientClass) {
    if (iRecord == null) {
      return false;
    }
    if (!(iRecord instanceof OIdentifiable)) {
      return false;
    }
    ODocument record = ((OIdentifiable) iRecord).getRecord();
    if (iRecord == null) {
      return false;
    }
    return (record.getSchemaClass().isSubClassOf(orientClass));
  }
private boolean isRecordInstanceOf(Object iRecord, String orientClass) {
    if (iRecord == null) {
      return false;
    }
    if (!(iRecord instanceof OIdentifiable)) {
      return false;
    }
    ODocument record = ((OIdentifiable) iRecord).getRecord();
    if (iRecord == null) {
      return false;
    }
    return (record.getSchemaClass().isSubClassOf(orientClass));
  }
private boolean isRecordInstanceOf ( Object iRecord , String orientClass ) { if ( iRecord == null ) { return false ; } if ( ! ( iRecord instanceof OIdentifiable ) ) { return false ; } ODocument record = ( ( OIdentifiable ) iRecord ) . getRecord ( ) ; if ( iRecord == null ) { return false ; } return ( record . getSchemaClass ( ) . isSubClassOf ( orientClass ) ) ; }
checks if an object is an OIdentifiable and an instance of a particular (schema) class

@param iRecord     The record object
@param orientClass The schema class

@return
checks if an object is an OIdentifiable and an instance of a particular ( schema ) class