public class OAIPMH
extends java.lang.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>
Modifier and Type | Field and Description |
---|---|
protected java.util.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 and Description |
---|
OAIPMH() |
Modifier and Type | Method and Description |
---|---|
java.util.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.
|
protected org.joda.time.DateTime responseDate
protected Request request
protected java.util.List<Error> error
protected Identify identify
protected ListMetadataFormats listMetadataFormats
protected ListSets listSets
protected GetRecord getRecord
protected ListIdentifiers listIdentifiers
protected ListRecords listRecords
public org.joda.time.DateTime getResponseDate()
XMLGregorianCalendar
public void setResponseDate(org.joda.time.DateTime value)
value
- allowed object is
XMLGregorianCalendar
public Request getRequest()
Request
public void setRequest(Request value)
value
- allowed object is
Request
public java.util.List<Error> getError()
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
public Identify getIdentify()
Identify
public void setIdentify(Identify value)
value
- allowed object is
Identify
public ListMetadataFormats getListMetadataFormats()
ListMetadataFormats
public void setListMetadataFormats(ListMetadataFormats value)
value
- allowed object is
ListMetadataFormats
public ListSets getListSets()
ListSets
public void setListSets(ListSets value)
value
- allowed object is
ListSets
public GetRecord getGetRecord()
GetRecord
public void setGetRecord(GetRecord value)
value
- allowed object is
GetRecord
public ListIdentifiers getListIdentifiers()
ListIdentifiers
public void setListIdentifiers(ListIdentifiers value)
value
- allowed object is
ListIdentifiers
public ListRecords getListRecords()
ListRecords
public void setListRecords(ListRecords value)
value
- allowed object is
ListRecords
Copyright © 2007-2020 EDIT. All Rights Reserved.