org.xbib.oai.server.identify.IdentifyServerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oai-server Show documentation
Show all versions of oai-server Show documentation
Open Archive Initiative library for Java
package org.xbib.oai.server.identify;
import org.xbib.oai.server.ServerOAIResponse;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
*
*/
public class IdentifyServerResponse extends ServerOAIResponse {
private String repositoryName;
private URL baseURL;
private String protocolVersion;
private List adminEmails = new ArrayList<>();
private Date earliestDatestamp;
private String deletedRecord;
private String granularity;
private String compression;
public void setRepositoryName(String repositoryName) {
this.repositoryName = repositoryName;
}
public String getRepositoryName() {
return repositoryName;
}
public void setBaseURL(URL url) {
this.baseURL = url;
}
public URL getBaseURL() {
return baseURL;
}
public void setProtocolVersion(String protocolVersion) {
this.protocolVersion = protocolVersion;
}
public String getProtocolVersion() {
return protocolVersion;
}
public void addAdminEmail(String email) {
adminEmails.add(email);
}
public List getAdminEmails() {
return adminEmails;
}
public void setEarliestDatestamp(Date earliestDatestamp) {
this.earliestDatestamp = earliestDatestamp;
}
public Date getEarliestDatestamp() {
return earliestDatestamp;
}
public void setDeletedRecord(String deletedRecord) {
this.deletedRecord = deletedRecord;
}
public String getDeleteRecord() {
return deletedRecord;
}
public void setGranularity(String granularity) {
this.granularity = granularity;
}
public String getGranularity() {
return granularity;
}
public void setCompression(String compression) {
this.compression = compression;
}
public String getCompression() {
return compression;
}
}