Package eu.planets_project.services.datatypes.DigitalObject

Examples of eu.planets_project.services.datatypes.DigitalObject.Builder.build()


                   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);
            }
          }
View Full Code Here


                builder.permanentUri(permanentUri);
                builder.metadata(metadataList.toArray(new Metadata[]{}));
               
                  long endtime = System.currentTimeMillis();
                  log.info("OAIDigitalObjectManagerKBImpl list() timediff: " + (endtime - starttime));
                DigitalObject o = builder.build();
                if (publicationLink != null && !leafMap.containsKey(publicationLink)) {
                    log.info("OAIDigitalObjectManagerKBImpl list() add to map uri: " + publicationLink);
                  leafMap.put(URI.create(publicationLink), o);
                }
              }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.