public String getEntityValue() {
   if (!isEntity()) {
     throw new UnsupportedOperationException(
         "Cannot access the entity value of a GraphElementWithStatistics that contains an Edge: "
             + toString());
   }
   return graphElement.getEntity().getEntityValue();
 }