OClass - addSuperClass()

This method adds a superclass to the database class.

Adding Superclasses

OrientDB supports polymorphism in database classes. This means that you can register an OClass instance to extend another OClass instance. Using this method, you can assign the given database class as the superclass to this class.


OClass ODatabaseDocument().addSuperClass(OClass superClass)
Argument Type Description
superClass OClass Defines the superclass

Return Value

This method returns an OClass instance.

results matching ""

    No results matching ""