public static String concatAttributeHref(
      String baseUri, String qualifiedEntityName, Object entityIdValue, String attributeName) {
    return String.format(
        "%s/%s/%s/%s",
        baseUri,
        encodePathSegment(qualifiedEntityName),
        encodePathSegment(DataConverter.toString(entityIdValue)),
        encodePathSegment(attributeName));
  }
public static String concatAttributeHref ( String baseUri , String qualifiedEntityName , Object entityIdValue , String attributeName ) { return String . format ( "%s/%s/%s/%s" , baseUri , encodePathSegment ( qualifiedEntityName ) , encodePathSegment ( DataConverter . toString ( entityIdValue ) ) , encodePathSegment ( attributeName ) ) ; }
Create an encoded href for an attribute