|
||||||||||
| 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 | |
|---|---|
protected |
WrapRepositoryRequest()
|
|
WrapRepositoryRequest(String id,
String url)
Creates an instance with a given source identifier and the URL of a given OAI repository. |
| Method Summary | |
|---|---|
String |
description()
Returns a description of the source to bind. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
id()
Returns the identifier of the source to bind. |
String |
name()
Returns a name for the source to bind. |
void |
setDescription(String description)
Sets a description for the source to bind. |
void |
setName(String name)
Sets a name for the source to bind. |
| Methods inherited from class org.gcube.data.oai.tmplugin.requests.Request |
|---|
addSets, repositoryUrl, sets |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected 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 id()
public String name()
public void setName(String name)
name - the namepublic String description()
public void setDescription(String description)
description - the descriptionpublic int hashCode()
hashCode in class Requestpublic boolean equals(Object obj)
equals in class Request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||