// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.08.04 at 03:25:13 AM CEST // package eu.prestoprime.model.oaipmh; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * 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. * * <p> * Java class for headerType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "headerType", propOrder = { "identifier", "datestamp", "setSpec" }) public class HeaderType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String identifier; @XmlElement(required = true) protected String datestamp; protected List<String> setSpec; @XmlAttribute(name = "status") protected StatusType status; /** * Gets the value of the identifier property. * * @return possible object is {@link String } * */ public String getIdentifier() { return identifier; } /** * Sets the value of the identifier property. * * @param value * allowed object is {@link String } * */ public void setIdentifier(String value) { this.identifier = value; } /** * Gets the value of the datestamp property. * * @return possible object is {@link String } * */ public String getDatestamp() { return datestamp; } /** * Sets the value of the datestamp property. * * @param value * allowed object is {@link String } * */ public void setDatestamp(String value) { this.datestamp = value; } /** * Gets the value of the setSpec property. * * <p> * 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 * <CODE>set</CODE> method for the setSpec property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getSetSpec().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link String } * * */ public List<String> getSetSpec() { if (setSpec == null) { setSpec = new ArrayList<String>(); } return this.setSpec; } /** * Gets the value of the status property. * * @return possible object is {@link StatusType } * */ public StatusType getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is {@link StatusType } * */ public void setStatus(StatusType value) { this.status = value; } }