ODatabaseDocument - getClass()

This method retrieves the given class.

Retrieving Classes

OrientDB has the concept of classes used to organize data of similar types. Using this method, you can retrieve a particular OClass instance for the given class name.


OClass ODatabaseDocument().getClass(String name)
nameStringDefines the name of the class

Return Value

This method returns the OClass instance corresponding to the given name.