public static String concatEntityHref ( String baseUri , String qualifiedEntityName , Object entityIdValue ) { if ( null == qualifiedEntityName ) { qualifiedEntityName = "" ; } return String . format ( "%s/%s/%s" , baseUri , encodePathSegment ( qualifiedEntityName ) , encodePathSegment ( DataConverter . toString ( entityIdValue ) ) ) ; }
Create an encoded href for an entity