Hi Robert, That's correct, but I understand your concern, probably having an additional method like createVertexClass(name, superclass), that also checks that the supeclass is a vertex class, could be convenient. We will consider it in the near future
Thanks Luigi 2018-01-29 16:13 GMT+01:00 Robert Bergstrom <[email protected]>: > From the documentation here > <http://orientdb.com/docs/3.0.x/java/Document-API-Class.html>, the you > create a new vertex class (a subclass of V) by calling "createVertexClass". > How do you create a subclass of your new vertex class? I've tried using the > "createClass" method specifying the subclass. It works without exception, > but I wanted to verity this was the correct way. Looking at the OSchema > methods, vertexes are not mentioned at all, so a bit confusing. > > Am I on the right path? What did I miss? > > TIA > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
