public class ListRecords
extends java.lang.Object
Java class for ListRecordsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ListRecordsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="record" type="{http://www.openarchives.org/OAI/2.0/}recordType" maxOccurs="unbounded"/> <element name="resumptionToken" type="{http://www.openarchives.org/OAI/2.0/}resumptionTokenType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Record> |
record |
protected ResumptionToken |
resumptionToken |
Constructor and Description |
---|
ListRecords() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Record> |
getRecord()
Gets the value of the record property.
|
ResumptionToken |
getResumptionToken()
Gets the value of the resumptionToken property.
|
void |
setResumptionToken(ResumptionToken value)
Sets the value of the resumptionToken property.
|
protected java.util.List<Record> record
protected ResumptionToken resumptionToken
public java.util.List<Record> getRecord()
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 record property.
For example, to add a new item, do as follows:
getRecord().add(newItem);
Objects of the following type(s) are allowed in the list
Record
public ResumptionToken getResumptionToken()
ResumptionToken
public void setResumptionToken(ResumptionToken value)
value
- allowed object is
ResumptionToken
Copyright © 2007-2020 EDIT. All Rights Reserved.