/** * Retained for backward compatibility * * @see ExtensionDt#getUrl() */ public String getUrlAsString() { return getUrl(); }
@Override public String toString() { ToStringBuilder retVal = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); retVal.append("url", getUrl()); retVal.append("value", getValue()); return retVal.build(); }
private Map<String, String> convertChannelExtensionsDstu2(ca.uhn.fhir.model.dstu2.resource.Subscription theSubscription) { Map<String, String> retval = new HashMap<>(); for (ExtensionDt extension : theSubscription.getChannel().getUndeclaredExtensions()) { String url = extension.getUrl(); if (isNotBlank(url)) { String value = extractExtension(theSubscription, url); if (isNotBlank(value)) { retval.put(url, value); } } } return retval; }
extensionDts = ((ISupportsUndeclaredExtensions) theCurrentObj).getUndeclaredExtensions() .stream() .filter(t -> t.getUrl().equals(extensionDtUrlForLambda)) .collect(Collectors.toList()); extensionDts = ((ISupportsUndeclaredExtensions) theCurrentObj).getUndeclaredModifierExtensions() .stream() .filter(t -> t.getUrl().equals(extensionDtUrlForLambda)) .collect(Collectors.toList());
/** * Retained for backward compatibility * * @see ExtensionDt#getUrl() */ public String getUrlAsString() { return getUrl(); }
@Override public String toString() { ToStringBuilder retVal = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); retVal.append("url", getUrl()); retVal.append("value", getValue()); return retVal.build(); }
extensionDts = ((ISupportsUndeclaredExtensions) theCurrentObj).getUndeclaredExtensions() .stream() .filter(t -> t.getUrl().equals(extensionDtUrlForLambda)) .collect(Collectors.toList()); extensionDts = ((ISupportsUndeclaredExtensions) theCurrentObj).getUndeclaredModifierExtensions() .stream() .filter(t -> t.getUrl().equals(extensionDtUrlForLambda)) .collect(Collectors.toList());
String userInfoEndpoint = null; for (ExtensionDt extension : extensions) { if (extension.getUrl().equalsIgnoreCase(URIS_ENDPOINT_EXTENSION)) { List<ExtensionDt> urisExtensions = extension.getExtension(); for (ExtensionDt uriExtensionDt : urisExtensions) { if (uriExtensionDt.getUrl().equalsIgnoreCase("authorize")) { authEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); } else if (uriExtensionDt.getUrl().equalsIgnoreCase("token")) { tokenEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); userInfoEndpoint = tokenEndpoint.replaceFirst("token", "userinfo");
String userInfoEndpoint = null; for (ExtensionDt extensionDt : extensions) { if(extensionDt.getUrl().equalsIgnoreCase(URIS_ENDPOINT_EXTENSION)){ List<ExtensionDt> urisExtensions = extensionDt.getUndeclaredExtensions(); for (ExtensionDt uriExtensionDt : urisExtensions) { if (uriExtensionDt.getUrl().equalsIgnoreCase("authorize")){ authEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); else if(uriExtensionDt.getUrl().equalsIgnoreCase("token")){ tokenEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); userInfoEndpoint = tokenEndpoint.replaceFirst("token", "userinfo");