tinkerpop/blueprints — pull request #294 by lvca (2012-08-28 13:51:27+00:00)
Title: Support for sub-types in vertexes and edges

While OrientDB supports sub-types, Blueprints hasn't this concept. To let the developers to use BP on top of a typed graph database created with OrientDB they need a way to tell to the underlying graph impl the class to use. In this case the only way in my mind (without breaking the API) was to use the non-used id as first parameter in addVertex() and addEdge() methods. If a "class" is passed, where x is the class name, then it's used.