Sure and thanks for your time, What I want is to have three properties on all of my vertices: id, createAt and updateAt. My approach was to add these properties to directly to V. This way all classes that inherit V will automatically obtain these properties. However there are scenarios where multiple inheritance is necessary. I think I recall that to break the diamond problem is to use single inheritance and containment. That is C would inherit from V and contain A & B.
Another approach is to defer inheritance of V. Using this approach, A & B would not inherit from V. C would inherit from A & B and then I would alter the class C to superclass V. I would have another class, for example, AV and BV that superclass V. This would break the cycle and work in the expected manner. Cheers, Chris. -- --- 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.
