graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java
public OrientEdgeType createEdgeType(final String iClassName, final String iSuperClassName) {
    makeActive();
    return createEdgeType(iClassName, iSuperClassName == null ? getEdgeBaseType() : getEdgeType(iSuperClassName));
  }
public OrientEdgeType createEdgeType(final String iClassName, final String iSuperClassName) {
    makeActive();
    return createEdgeType(iClassName, iSuperClassName == null ? getEdgeBaseType() : getEdgeType(iSuperClassName));
  }
Creates a new Edge persistent class specifying the super class.

@param iClassName      Edge class name
@param iSuperClassName Edge class name to extend

@return OrientEdgeType instance representing the persistent class