Class HeaderType
- java.lang.Object
-
- com.lyncode.xoai.serviceprovider.oaipmh.spec.HeaderType
-
public class HeaderType extends Object
A header has a unique identifier, a datestamp, and setSpec(s) in case the item from which the record is disseminated belongs to set(s). the header can carry a deleted status indicating that the record is deleted. Java class for headerType complex type. The following schema fragment specifies the expected content contained within this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected Datedatestampprotected Stringidentifierprotected List<String>setSpecprotected StatusTypestatus
-
Constructor Summary
Constructors Constructor Description HeaderType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDatestamp()Gets the value of the datestamp property.StringgetIdentifier()Gets the value of the identifier property.List<String>getSetSpec()Gets the value of the setSpec property.StatusTypegetStatus()Gets the value of the status property.voidsetDatestamp(Date value)Sets the value of the datestamp property.voidsetIdentifier(String value)Sets the value of the identifier property.voidsetStatus(StatusType value)Sets the value of the status property.
-
-
-
Field Detail
-
identifier
protected String identifier
-
datestamp
protected Date datestamp
-
status
protected StatusType status
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is ;
-
setIdentifier
public void setIdentifier(String value)
Sets the value of the identifier property.- Parameters:
value- allowed object is ;
-
getDatestamp
public Date getDatestamp()
Gets the value of the datestamp property.- Returns:
- possible object is ;
-
setDatestamp
public void setDatestamp(Date value)
Sets the value of the datestamp property.- Parameters:
value- allowed object is ;
-
getSetSpec
public List<String> getSetSpec()
Gets the value of the setSpec 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 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 ;
-
getStatus
public StatusType getStatus()
Gets the value of the status property.- Returns:
- possible object is ;
-
setStatus
public void setStatus(StatusType value)
Sets the value of the status property.- Parameters:
value- allowed object is ;
-
-