OClass - getName()

This method returns the logical name of the class.

Retrieving Class Names

Internally, OrientDB manages classes as OClass instance. But, each database class has a logical name that gets used in OrientDB SQL queries. Using this method, you can retrieve the logical name as string.

Syntax

String OClass().getName()

Return Type

This method returns a String instance, which provides the logical name of the OClass.