code: public static org.openbel.framework.api.Kam.KamEdge
              convert(KamEdge kamEdge, org.openbel.framework.api.Kam kam)
                      throws InvalidIdException {
          if (kamEdge == null) {
              return null;
          }
  
          final KamStoreObjectRef ref = decodeEdge(kamEdge);
          int edgeId = ref.getKamStoreObjectId();
  
          return kam.findEdge(edgeId);
      }
docs: Converts a {@link KamEdge ws kam edge} to a
  {@link org.openbel.framework.api.Kam.KamEdge kam edge}
  using the {@link org.openbel.framework.api.Kam kam}.
  
  @param kamEdge the {@link KamEdge ws kam edge} to convert from
  @param kam the {@link org.openbel.framework.api.Kam kam}
  to find the kam store kam edge
  @return the {@link org.openbel.framework.api.Kam.KamEdge
  kam edge} to convert to
  @throws InvalidIdException Thrown if the kam edge id is invalid