public class Header
extends java.lang.Object
Java class for headerType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="headerType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="identifier" type="{http://www.openarchives.org/OAI/2.0/}identifierType"/> <element name="datestamp" type="{http://www.openarchives.org/OAI/2.0/}UTCdatetimeType"/> <element name="setSpec" type="{http://www.openarchives.org/OAI/2.0/}setSpecType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="status" type="{http://www.openarchives.org/OAI/2.0/}statusType" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected org.joda.time.DateTime |
datestamp |
protected java.net.URI |
identifier |
protected java.util.List<java.lang.String> |
setSpec |
protected Status |
status |
Constructor and Description |
---|
Header() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getDatestamp()
Gets the value of the datestamp property.
|
java.net.URI |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<java.lang.String> |
getSetSpec()
Gets the value of the setSpec property.
|
Status |
getStatus()
Gets the value of the status property.
|
void |
setDatestamp(org.joda.time.DateTime value)
Sets the value of the datestamp property.
|
void |
setIdentifier(java.net.URI value)
Sets the value of the identifier property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
protected java.net.URI identifier
protected org.joda.time.DateTime datestamp
protected java.util.List<java.lang.String> setSpec
protected Status status
public java.net.URI getIdentifier()
URI
public void setIdentifier(java.net.URI value)
value
- allowed object is
URI
public org.joda.time.DateTime getDatestamp()
DateTime
public void setDatestamp(org.joda.time.DateTime value)
value
- allowed object is
DateTime
public java.util.List<java.lang.String> getSetSpec()
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 setSpec property.
For example, to add a new item, do as follows:
getSetSpec().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Status getStatus()
Status
Copyright © 2007-2020 EDIT. All Rights Reserved.