URI permanentUri = URI.create(getBaseRegistryURI() +"/"+ filename).normalize();
builder.permanentUri(permanentUri);
builder.metadata(new Metadata(namespaceURI, record.getMetadataAsString()));
long endtime = System.currentTimeMillis();
log.info("OAIDigitalObjectManagerDCImpl retrieve() timediff: " + (endtime - starttime));
DigitalObject o = builder.build();
if (url != null && !leafMap.containsKey(URI.create(url))) {
log.info("OAIDigitalObjectManagerDCImpl retrieve() add to map uri: " + URI.create(url));
leafMap.put(URI.create(url), o);
}
}