/**
  * Returns the URI associated with this reference converter.
  *
  * @return the converted uri
  */
 @XmlAttribute(name = "uri")
 public URI getResourceUri() {
   if (isUriExtendable) {
     return UriBuilder.fromUri(uri).path(entity.getId() + "/").build();
   }
   return uri;
 }
 /**
  * Getter for id.
  *
  * @return value for id
  */
 @XmlElement
 public String getId() {
   return entity.getId();
 }