/** * Gets the Href of this role grant. * * @return Returns the Href */ public String getHref() { return this.getUserAccountByUserId() != null ? XmlUtility.getUserAccountGrantHref(this.getUserAccountByUserId().getId(), this.getId()) : XmlUtility.getUserGroupGrantHref(this.getUserGroupByGroupId().getId(), this.getId()); }