code: public EdgeBean asBean(BitsyEdge edge) {
          // The TX is usually not active at this point. So no checks.
          VertexBean outVertexBean = getVertex(edge.getOutVertexId());
          VertexBean inVertexBean = getVertex(edge.getInVertexId());
          
          if ((outVertexBean == null) || (inVertexBean == null)) {
              // The vertex has been deleted.
              return null;
          } else {
              assert (edge.getState() == BitsyState.M);
              return new EdgeBean((UUID)edge.id(), edge.getPropertyDict(), edge.getVersion(), edge.label(), outVertexBean, inVertexBean);
          }
      }
docs: HELPER METHODS