IdDt locationValueId = new IdDt(locationValue); if (locationValueId.hasBaseUrl() && locationValueId.hasIdPart()) { locationValue = locationValueId.toUnqualified().getValue();
ourLog.debug("Resource {} has not changed", theEntity.getIdDt().toUnqualified().getValue()); if (theResource != null) { updateResourceMetadata(theEntity, theResource);
nextEntry.getKey().getResponse().setLocation(nextEntry.getValue().getIdDt().toUnqualified().getValue()); nextEntry.getKey().getResponse().setEtag(nextEntry.getValue().getIdDt().getVersionIdPart());
ourLog.debug("Resource {} has not changed", theEntity.getIdDt().toUnqualified().getValue()); if (theResource != null) { updateResourceMetadata(theEntity, theResource);
String responseLocation = nextEntry.getValue().getIdDt().toUnqualified().getValue(); String responseEtag = nextEntry.getValue().getIdDt().getVersionIdPart(); myVersionAdapter.setResponseLocation(nextEntry.getKey(), responseLocation);
IBaseResource resource = dao.read(resourceTable.getIdDt().toVersionless(), null, true); if (resource == null) { throw new InternalErrorException("Could not find resource version " + resourceTable.getIdDt().toUnqualified().getValue() + " in database");
@Override public String toString() { ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); b.append("id", getId().toUnqualified()); return b.toString(); }
@Override public String toString() { ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); b.append("id", getId().toUnqualified()); return b.toString(); }
IdDt locationValueId = new IdDt(locationValue); if (locationValueId.hasBaseUrl() && locationValueId.hasIdPart()) { locationValue = locationValueId.toUnqualified().getValue();
nextEntry.getKey().getResponse().setLocation(nextEntry.getValue().getIdDt().toUnqualified().getValue()); nextEntry.getKey().getResponse().setEtag(nextEntry.getValue().getIdDt().getVersionIdPart());
String responseLocation = nextEntry.getValue().getIdDt().toUnqualified().getValue(); String responseEtag = nextEntry.getValue().getIdDt().getVersionIdPart(); myVersionAdapter.setResponseLocation(nextEntry.getKey(), responseLocation);
IBaseResource resource = dao.read(resourceTable.getIdDt().toVersionless(), null, true); if (resource == null) { throw new InternalErrorException("Could not find resource version " + resourceTable.getIdDt().toUnqualified().getValue() + " in database");