OClass - hasSuperClasses()

This method determines whether the class is a subclass of another class.

Checking for Superclasses

OrientDB borrows the concept of class from the Objected Oriented programming paradigm. This borrowing includes polymorphism, or the idea that a class can be a subclass of and inherit from another class. Using this method, you can determine whether your OClass instance inherits from any superclasses.

Syntax

boolean OClass().hasSuperClasses()

Return Value

This method returns a Boolean instance, where a true value indicates that it is a subclass.

results matching ""

    No results matching ""