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