Package eu.planets_project.services.datatypes

Examples of eu.planets_project.services.datatypes.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


                  String title = "";
                  List<Metadata> metadataList = new ArrayList<Metadata>(0);
                  for (OaiMetadata emd : OaiMetadata.values()) {
                    String md = retrieveOaiMetadata(emd, resolver);
                    if (md != null && md.length() > 0) {
                       Metadata metadata = new Metadata(URI.create(METADATA_TYPE), emd.name(), md);
                       metadataList.add(metadata);
                  // Title
                  if (metadata.getName().equalsIgnoreCase(OaiMetadata.title.name())) {
                    title = metadata.getContent();
                  }
                    }
                  }
                             
              if (publicationLink != null && publicationLink.toString().length() > 0) {
View Full Code Here

    }
   
    // fill meta data
    Iterator<Metadata> iterMetadata = o.getMetadata().iterator();
    while (iterMetadata.hasNext()) {
      Metadata metadata = iterMetadata.next();
      if (metadata != null)
        fillMetadata(metadata);
    }
   
    // fill events
View Full Code Here

TOP

Related Classes of eu.planets_project.services.datatypes.Metadata

Copyright © 2018 www.massapicom. 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.