Package eu.planets_project.services.datatypes.DigitalObject

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


                  log.info("OAIDigitalObjectManagerKBImpl list() filename: " + filename +
                      ", pdURI.toString(): " + pdURI.toString() + ", url: " + url);

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


                      log.info("OAIDigitalObjectManagerKBImpl list() filename: " + filename +
                          ", pdURI.toString(): " + pdURI.toString() + ", publicationLink: " + publicationLink);

                       URI permanentUri = URI.create(getBaseRegistryURI() +"/"+ filename).normalize();           
                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)) {
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.