graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java
@Override
  public Edge addEdge(final String label, Vertex inVertex) {
    if (inVertex instanceof PartitionVertex)
      // WRAPPED: GET THE BASE VERTEX
      inVertex = ((PartitionVertex) inVertex).getBaseVertex();

    return addEdge(label, (OrientVertex) inVertex, null, null, (Object[]) null);
  }
@Override
  public Edge addEdge(final String label, Vertex inVertex) {
    if (inVertex instanceof PartitionVertex)
      // WRAPPED: GET THE BASE VERTEX
      inVertex = ((PartitionVertex) inVertex).getBaseVertex();

    return addEdge(label, (OrientVertex) inVertex, null, null, (Object[]) null);
  }
@ Override public Edge addEdge ( final String label , Vertex inVertex ) { if ( inVertex instanceof PartitionVertex ) // WRAPPED: GET THE BASE VERTEX inVertex = ( ( PartitionVertex ) inVertex ) . getBaseVertex ( ) ; return addEdge ( label , ( OrientVertex ) inVertex , null , null , ( Object [ ] ) null ) ; }
Creates an edge between current Vertex and a target Vertex setting label as Edge's label.

@param label    Edge's label or class
@param inVertex Outgoing target vertex

@return The new Edge created
Creates an edge between current Vertex and a target Vertex setting label as Edge s label .