code: public <U extends ODataEntity<?>> LinkInfo<U> getLink(String rel) {
          for (Object child : entry.getEntryChildren()) {
  
              LinkType link = linkFromChild(child);
              if (link != null && link.getRel().equals(rel)) {
                  return new LinkInfo<U>(link);
              }
          }
          return null;
      }
docs: Get the link with the given rel attribute
  
  @param rel
  rel of link to retrieve
  @return The link if found, null if not.