nuvolabase/orientdb — pull request #1505 by zonotope (2013-06-05 00:17:58+00:00)
Title: Add new method getOrCreateClass that accepts superclass

Add another getOrCreateClass method to schema which also takes in a proposed superclass and creates the class with the superclass as its ancestor if it does not exist, and checks to make sure that the class has the specified ancestor if it does exist.