//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.08.04 at 03:25:13 AM CEST
//
package eu.prestoprime.model.oaipmh;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="responseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="request" type="{http://www.openarchives.org/OAI/2.0/}requestType"/>
* <choice>
* <element name="error" type="{http://www.openarchives.org/OAI/2.0/}OAI-PMHerrorType" maxOccurs="unbounded"/>
* <element name="Identify" type="{http://www.openarchives.org/OAI/2.0/}IdentifyType"/>
* <element name="ListMetadataFormats" type="{http://www.openarchives.org/OAI/2.0/}ListMetadataFormatsType"/>
* <element name="ListSets" type="{http://www.openarchives.org/OAI/2.0/}ListSetsType"/>
* <element name="GetRecord" type="{http://www.openarchives.org/OAI/2.0/}GetRecordType"/>
* <element name="ListIdentifiers" type="{http://www.openarchives.org/OAI/2.0/}ListIdentifiersType"/>
* <element name="ListRecords" type="{http://www.openarchives.org/OAI/2.0/}ListRecordsType"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "responseDate", "request", "error", "identify", "listMetadataFormats", "listSets", "getRecord", "listIdentifiers", "listRecords" })
@XmlRootElement(name = "OAI-PMH")
public class OAIPMH implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar responseDate;
@XmlElement(required = true)
protected RequestType request;
protected List<OAIPMHerrorType> error;
@XmlElement(name = "Identify")
protected IdentifyType identify;
@XmlElement(name = "ListMetadataFormats")
protected ListMetadataFormatsType listMetadataFormats;
@XmlElement(name = "ListSets")
protected ListSetsType listSets;
@XmlElement(name = "GetRecord")
protected GetRecordType getRecord;
@XmlElement(name = "ListIdentifiers")
protected ListIdentifiersType listIdentifiers;
@XmlElement(name = "ListRecords")
protected ListRecordsType listRecords;
/**
* Gets the value of the responseDate property.
*
* @return possible object is {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getResponseDate() {
return responseDate;
}
/**
* Sets the value of the responseDate property.
*
* @param value
* allowed object is {@link XMLGregorianCalendar }
*
*/
public void setResponseDate(XMLGregorianCalendar value) {
this.responseDate = value;
}
/**
* Gets the value of the request property.
*
* @return possible object is {@link RequestType }
*
*/
public RequestType getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is {@link RequestType }
*
*/
public void setRequest(RequestType value) {
this.request = value;
}
/**
* Gets the value of the error property.
*
* <p>
* This accessor method returns a reference to the live list, not a
* snapshot. Therefore any modification you make to the returned list will
* be present inside the JAXB object. This is why there is not a
* <CODE>set</CODE> method for the error property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getError().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OAIPMHerrorType }
*
*
*/
public List<OAIPMHerrorType> getError() {
if (error == null) {
error = new ArrayList<OAIPMHerrorType>();
}
return this.error;
}
/**
* Gets the value of the identify property.
*
* @return possible object is {@link IdentifyType }
*
*/
public IdentifyType getIdentify() {
return identify;
}
/**
* Sets the value of the identify property.
*
* @param value
* allowed object is {@link IdentifyType }
*
*/
public void setIdentify(IdentifyType value) {
this.identify = value;
}
/**
* Gets the value of the listMetadataFormats property.
*
* @return possible object is {@link ListMetadataFormatsType }
*
*/
public ListMetadataFormatsType getListMetadataFormats() {
return listMetadataFormats;
}
/**
* Sets the value of the listMetadataFormats property.
*
* @param value
* allowed object is {@link ListMetadataFormatsType }
*
*/
public void setListMetadataFormats(ListMetadataFormatsType value) {
this.listMetadataFormats = value;
}
/**
* Gets the value of the listSets property.
*
* @return possible object is {@link ListSetsType }
*
*/
public ListSetsType getListSets() {
return listSets;
}
/**
* Sets the value of the listSets property.
*
* @param value
* allowed object is {@link ListSetsType }
*
*/
public void setListSets(ListSetsType value) {
this.listSets = value;
}
/**
* Gets the value of the getRecord property.
*
* @return possible object is {@link GetRecordType }
*
*/
public GetRecordType getGetRecord() {
return getRecord;
}
/**
* Sets the value of the getRecord property.
*
* @param value
* allowed object is {@link GetRecordType }
*
*/
public void setGetRecord(GetRecordType value) {
this.getRecord = value;
}
/**
* Gets the value of the listIdentifiers property.
*
* @return possible object is {@link ListIdentifiersType }
*
*/
public ListIdentifiersType getListIdentifiers() {
return listIdentifiers;
}
/**
* Sets the value of the listIdentifiers property.
*
* @param value
* allowed object is {@link ListIdentifiersType }
*
*/
public void setListIdentifiers(ListIdentifiersType value) {
this.listIdentifiers = value;
}
/**
* Gets the value of the listRecords property.
*
* @return possible object is {@link ListRecordsType }
*
*/
public ListRecordsType getListRecords() {
return listRecords;
}
/**
* Sets the value of the listRecords property.
*
* @param value
* allowed object is {@link ListRecordsType }
*
*/
public void setListRecords(ListRecordsType value) {
this.listRecords = value;
}
}