|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.oai.tmplugin.requests.Request
org.gcube.data.oai.tmplugin.requests.WrapRepositoryRequest
public class WrapRepositoryRequest
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.
| Constructor Summary | |
|---|---|
WrapRepositoryRequest()
|
|
WrapRepositoryRequest(String id,
String url)
Creates an instance with a given source identifier and the URL of a given OAI repository. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getId()
Returns the identifier of the source to bind. |
int |
hashCode()
|
void |
setId(String id)
Returns the identifier of the source to bind. |
String |
toString()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WrapRepositoryRequest()
public WrapRepositoryRequest(String id,
String url)
throws IllegalArgumentException
id - the source identifierurl - the URL
IllegalArgumentException - if the identifier is null or empty| Method Detail |
|---|
public String getId()
public void setId(String id)
id - public int hashCode()
hashCode in class Requestpublic boolean equals(Object obj)
equals in class Requestpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||