Exemplo n.º 1
0
 /** Get the URI that can be used to edit the entry via HTTP PUT or DELETE. */
 public String getEditURI() {
   for (int i = 0; i < getOtherLinks().size(); i++) {
     Link link = (Link) getOtherLinks().get(i);
     if (link.getRel() != null && link.getRel().equals("edit")) {
       return link.getHrefResolved();
     }
   }
   return null;
 }