This method retrieves the schema type for the record.
OrientDB can run schema-less, schema-full or it can use a schema in some cases and not use one in others. In cases where the record has a schema, that is when it is defined as a particular class on the OrientDB database, this method retrieves the
OClass instance to which it belongs.
When the record corresponding to this
OElement instance has a schema class, this method returns an
OClass instance. In the event that the record does not enforce a schema, it returns an empty