org.gcube.data.oai.tmplugin.requests
Class WrapRepositoryRequest
java.lang.Object
org.gcube.data.oai.tmplugin.requests.Request
org.gcube.data.oai.tmplugin.requests.WrapRepositoryRequest
- All Implemented Interfaces:
- Serializable
public class WrapRepositoryRequest
- extends Request
- implements Serializable
A Request to bind the OAI Plugin to a single data source formed of all the records in one ore more sets of an OAI repository.
- Author:
- Fabio Simeoni
- See Also:
- Serialized Form
| Methods inherited from class org.gcube.data.oai.tmplugin.requests.Request |
addAlternativesXPath, addSets, getAlternativesXPath, getContentXPath, getDescription, getMetadataFormat, getName, getRepositoryUrl, getSets, getTitleXPath, setContentXPath, setDescription, setMetadataFormat, setName, setRepositoryUrl, setTitleXPath |
WrapRepositoryRequest
public WrapRepositoryRequest()
WrapRepositoryRequest
public WrapRepositoryRequest(String url)
throws IllegalArgumentException
- Creates an instance with a given source identifier and the URL of a given OAI repository.
- Parameters:
id - the source identifierurl - the URL
- Throws:
IllegalArgumentException - if the identifier is null or empty
hashCode
public int hashCode()
- Overrides:
hashCode in class Request
equals
public boolean equals(Object obj)
- Overrides:
equals in class Request
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.