search: keywords: ['java', 'api', 'oclass', 'class name', 'get name', 'getName']

OClass - getName()

This method returns the logical name of the class.

Retrieving Class Names

Internally, OrientDB manages clsases 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.