String locationValue = locationHeaders.get(0); IdDt locationValueId = new IdDt(locationValue); if (locationValueId.hasBaseUrl() && locationValueId.hasIdPart()) { locationValue = locationValueId.toUnqualified().getValue();
private void populateBundleEntryFullUrl(IResource next, Entry entry) { if (next.getId().hasBaseUrl()) { entry.setFullUrl(next.getId().toVersionless().getValue()); } else { if (isNotBlank(myBase) && next.getId().hasIdPart()) { IdDt id = next.getId().toVersionless(); id = id.withServerBase(myBase, myContext.getResourceDefinition(next).getName()); entry.setFullUrl(id.getValue()); } } }
if (next.getId().hasBaseUrl()) { entry.setFullUrl(next.getId().getValue());
String locationValue = locationHeaders.get(0); IdDt locationValueId = new IdDt(locationValue); if (locationValueId.hasBaseUrl() && locationValueId.hasIdPart()) { locationValue = locationValueId.toUnqualified().getValue();
private void populateBundleEntryFullUrl(IResource next, Entry entry) { if (next.getId().hasBaseUrl()) { entry.setFullUrl(next.getId().toVersionless().getValue()); } else { if (isNotBlank(myBase) && next.getId().hasIdPart()) { IdDt id = next.getId().toVersionless(); id = id.withServerBase(myBase, myContext.getResourceDefinition(next).getName()); entry.setFullUrl(id.getValue()); } } }
if (next.getId().hasBaseUrl()) { entry.setFullUrl(next.getId().getValue());