eu.etaxonomy.cdm.remote.dto.oaipmh
Class OAIPMH

java.lang.Object
  extended by eu.etaxonomy.cdm.remote.dto.oaipmh.OAIPMH

public class OAIPMH
extends Object

Java class for OAI-PMHtype complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="OAI-PMHtype">
   <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>
 


Field Summary
protected  List<Error> error
           
protected  GetRecord getRecord
           
protected  Identify identify
           
protected  ListIdentifiers listIdentifiers
           
protected  ListMetadataFormats listMetadataFormats
           
protected  ListRecords listRecords
           
protected  ListSets listSets
           
protected  Request request
           
protected  org.joda.time.DateTime responseDate
           
 
Constructor Summary
OAIPMH()
           
 
Method Summary
 List<Error> getError()
          Gets the value of the error property.
 GetRecord getGetRecord()
          Gets the value of the getRecord property.
 Identify getIdentify()
          Gets the value of the identify property.
 ListIdentifiers getListIdentifiers()
          Gets the value of the listIdentifiers property.
 ListMetadataFormats getListMetadataFormats()
          Gets the value of the listMetadataFormats property.
 ListRecords getListRecords()
          Gets the value of the listRecords property.
 ListSets getListSets()
          Gets the value of the listSets property.
 Request getRequest()
          Gets the value of the request property.
 org.joda.time.DateTime getResponseDate()
          Gets the value of the responseDate property.
 void setGetRecord(GetRecord value)
          Sets the value of the getRecord property.
 void setIdentify(Identify value)
          Sets the value of the identify property.
 void setListIdentifiers(ListIdentifiers value)
          Sets the value of the listIdentifiers property.
 void setListMetadataFormats(ListMetadataFormats value)
          Sets the value of the listMetadataFormats property.
 void setListRecords(ListRecords value)
          Sets the value of the listRecords property.
 void setListSets(ListSets value)
          Sets the value of the listSets property.
 void setRequest(Request value)
          Sets the value of the request property.
 void setResponseDate(org.joda.time.DateTime value)
          Sets the value of the responseDate property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

responseDate

protected org.joda.time.DateTime responseDate

request

protected Request request

error

protected List<Error> error

identify

protected Identify identify

listMetadataFormats

protected ListMetadataFormats listMetadataFormats

listSets

protected ListSets listSets

getRecord

protected GetRecord getRecord

listIdentifiers

protected ListIdentifiers listIdentifiers

listRecords

protected ListRecords listRecords
Constructor Detail

OAIPMH

public OAIPMH()
Method Detail

getResponseDate

public org.joda.time.DateTime getResponseDate()
Gets the value of the responseDate property.

Returns:
possible object is XMLGregorianCalendar

setResponseDate

public void setResponseDate(org.joda.time.DateTime value)
Sets the value of the responseDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getRequest

public Request getRequest()
Gets the value of the request property.

Returns:
possible object is Request

setRequest

public void setRequest(Request value)
Sets the value of the request property.

Parameters:
value - allowed object is Request

getError

public List<Error> getError()
Gets the value of the error property.

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 set method for the error property.

For example, to add a new item, do as follows:

    getError().add(newItem);
 

Objects of the following type(s) are allowed in the list Error


getIdentify

public Identify getIdentify()
Gets the value of the identify property.

Returns:
possible object is Identify

setIdentify

public void setIdentify(Identify value)
Sets the value of the identify property.

Parameters:
value - allowed object is Identify

getListMetadataFormats

public ListMetadataFormats getListMetadataFormats()
Gets the value of the listMetadataFormats property.

Returns:
possible object is ListMetadataFormats

setListMetadataFormats

public void setListMetadataFormats(ListMetadataFormats value)
Sets the value of the listMetadataFormats property.

Parameters:
value - allowed object is ListMetadataFormats

getListSets

public ListSets getListSets()
Gets the value of the listSets property.

Returns:
possible object is ListSets

setListSets

public void setListSets(ListSets value)
Sets the value of the listSets property.

Parameters:
value - allowed object is ListSets

getGetRecord

public GetRecord getGetRecord()
Gets the value of the getRecord property.

Returns:
possible object is GetRecord

setGetRecord

public void setGetRecord(GetRecord value)
Sets the value of the getRecord property.

Parameters:
value - allowed object is GetRecord

getListIdentifiers

public ListIdentifiers getListIdentifiers()
Gets the value of the listIdentifiers property.

Returns:
possible object is ListIdentifiers

setListIdentifiers

public void setListIdentifiers(ListIdentifiers value)
Sets the value of the listIdentifiers property.

Parameters:
value - allowed object is ListIdentifiers

getListRecords

public ListRecords getListRecords()
Gets the value of the listRecords property.

Returns:
possible object is ListRecords

setListRecords

public void setListRecords(ListRecords value)
Sets the value of the listRecords property.

Parameters:
value - allowed object is ListRecords


Copyright © 2007-2013 EDIT. All Rights Reserved.