org.gcube.data.oai.tmplugin.binders
Class OAIDCBinder
java.lang.Object
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
|
Method Summary |
org.gcube.data.trees.data.Tree |
bind(org.gcube.common.data.Record record)
|
org.gcube.data.trees.data.Edge |
printNodeInfo(Node currentNode,
org.gcube.data.trees.data.Edge edge)
Stampa le info sui nodi, in modo ricorsivo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAIDCBinder
public OAIDCBinder(Request req)
OAIDCBinder
public OAIDCBinder(RepositoryProvider p)
bind
public org.gcube.data.trees.data.Tree bind(org.gcube.common.data.Record record)
throws Exception
- Throws:
Exception
printNodeInfo
public org.gcube.data.trees.data.Edge printNodeInfo(Node currentNode,
org.gcube.data.trees.data.Edge edge)
- Stampa le info sui nodi, in modo ricorsivo
- Parameters:
currentNode - il nodo corrente
Copyright © 2013. All Rights Reserved.