org.gcube.data.oai.tmplugin.requests
Class WrapSetsRequest
java.lang.Object
org.gcube.data.oai.tmplugin.requests.Request
org.gcube.data.oai.tmplugin.requests.WrapSetsRequest
public class WrapSetsRequest
- extends Request
A Request to bind the OAI Plugin to one or more sets of an OAI
repository.
- Author:
- Fabio Simeoni
|
Constructor Summary |
protected |
WrapSetsRequest()
|
|
WrapSetsRequest(String prefix,
String url)
Creates an instance with the URL of an OAI repository and a prefix for
the names of the sets to use as the names of the corresponding sources. |
WrapSetsRequest
protected WrapSetsRequest()
WrapSetsRequest
public WrapSetsRequest(String prefix,
String url)
throws IllegalArgumentException
- Creates an instance with the URL of an OAI repository and a prefix for
the names of the sets to use as the names of the corresponding sources.
- Parameters:
prefix - the prefixurl - the URL
- Throws:
IllegalArgumentException - if the prefix is null or empty
idPrefix
public String idPrefix()
- Returns the prefix for the name of the sources to bind.
- Returns:
- the prefix
hashCode
public int hashCode()
- Overrides:
hashCode in class Request
equals
public boolean equals(Object obj)
- Overrides:
equals in class Request
Copyright © 2012. All Rights Reserved.