graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java
public OrientVertexType createVertexType(final String iClassName, final OClass iSuperClass, final int clusters) {
    makeActive();
    OrientVertexType.checkType(iSuperClass);

    return executeOutsideTx(new OCallable<OrientVertexType, OrientBaseGraph>() {
      @Override
      public OrientVertexType call(final OrientBaseGraph g) {
        return new OrientVertexType(g, getRawGraph().getMetadata().getSchema().createClass(iClassName, clusters, iSuperClass));
      }
    }, "create vertex type '", iClassName, "' as subclass of '", iSuperClass.getName(), "' (clusters=" + clusters + ")");
  }
public OrientVertexType createVertexType(final String iClassName, final OClass iSuperClass, final int clusters) {
    makeActive();
    OrientVertexType.checkType(iSuperClass);

    return executeOutsideTx(new OCallable<OrientVertexType, OrientBaseGraph>() {
      @Override
      public OrientVertexType call(final OrientBaseGraph g) {
        return new OrientVertexType(g, getRawGraph().getMetadata().getSchema().createClass(iClassName, clusters, iSuperClass));
      }
    }, "create vertex type '", iClassName, "' as subclass of '", iSuperClass.getName(), "' (clusters=" + clusters + ")");
  }
public OrientVertexType createVertexType ( final String iClassName , final OClass iSuperClass , final int clusters ) { makeActive ( ) ; OrientVertexType . checkType ( iSuperClass ) ; return executeOutsideTx ( new OCallable < OrientVertexType , OrientBaseGraph > ( ) { @ Override public OrientVertexType call ( final OrientBaseGraph g ) { return new OrientVertexType ( g , getRawGraph ( ) . getMetadata ( ) . getSchema ( ) . createClass ( iClassName , clusters , iSuperClass ) ) ; } } , "create vertex type '" , iClassName , "' as subclass of '" , iSuperClass . getName ( ) , "' (clusters=" + clusters + ")" ) ; }
Creates a new Vertex persistent class specifying the super class.

@param iClassName  Vertex class name
@param iSuperClass OClass Vertex to extend

@return OrientVertexType instance representing the persistent class
Creates a new Vertex persistent class specifying the super class .