org.gcube.data.oai.tmplugin.binders
Class OAIDCBinder

java.lang.Object
  extended by org.gcube.data.oai.tmplugin.binders.OAIDCBinder
All Implemented Interfaces:
Serializable

public class OAIDCBinder
extends Object
implements Serializable

Tree model: item metadata: global information on the item including title: the title of the record; collectionID: the collection this item belongs to; creationTime: the time the item was created; lastUpdateTime: the most recent time the item has been updated; provenance: It is characterised by the following information: statement: "This item has been created by "+ pluginName +" via OAI-PMH metadata harvesting from the metadata provider "+repositoryName+" at "+baseURL; setID: the repository set the object belongs to (optional and repeatable); metadata (repeatable): the metadata record harvested. It is characterised by the following information: schema: the metadata format of the metadata record; schemaLocation: the metadata format schema URI; record: the manifestation of the metadata record harvested; content (repeatable): any potential payload shipped with the metadata record. It is characterised by the following information: contentType: i.e. whether main or alternative content; mimeType: MIME type of the actual content; url: URL to the actual content;

See Also:
Serialized Form

Constructor Summary
OAIDCBinder(RepositoryProvider p)
           
OAIDCBinder(Request req)
           
 
Method Summary
 org.gcube.data.trees.data.Tree bind(org.gcube.common.OAIRecord record)
           
 org.gcube.data.trees.data.Edge printNodeInfo(Node currentNode, org.gcube.data.trees.data.Edge edge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAIDCBinder

public OAIDCBinder(Request req)

OAIDCBinder

public OAIDCBinder(RepositoryProvider p)
Method Detail

bind

public org.gcube.data.trees.data.Tree bind(org.gcube.common.OAIRecord record)
                                    throws Exception
Throws:
Exception

printNodeInfo

public org.gcube.data.trees.data.Edge printNodeInfo(Node currentNode,
                                                    org.gcube.data.trees.data.Edge edge)
Parameters:
currentNode -


Copyright © 2013. All Rights Reserved.