// // 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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="identifyId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="baseURL" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="protocolVersion" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="adminEmail" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="earliestDatestamp" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="deletedRecord" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="granularity" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="compression" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="description" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element ref="{http://www.openarchives.org/OAI/1.1/eprints}eprints"/> * <element ref="{http://www.openarchives.org/OAI/2.0/friends/}friends"/> * <element ref="{http://www.openarchives.org/OAI/2.0/oai-identifier}oai-identifier"/> * </choice> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "identifyId", "repositoryName", "baseURL", "protocolVersion", "adminEmail", "earliestDatestamp", "deletedRecord", "granularity", "compression", "description" }) @XmlRootElement(name = "Identify", namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify") public class Identify implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String identifyId; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String repositoryName; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String baseURL; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String protocolVersion; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify") protected List<String> adminEmail; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String earliestDatestamp; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String deletedRecord; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify", required = true) protected String granularity; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify") protected List<String> compression; @XmlElement(namespace = "http://www.prestoprime.eu/model/2012/oaipmhidentify") protected List<Identify.Description> description; /** * Gets the value of the identifyId property. * * @return possible object is {@link String } * */ public String getIdentifyId() { return identifyId; } /** * Sets the value of the identifyId property. * * @param value * allowed object is {@link String } * */ public void setIdentifyId(String value) { this.identifyId = value; } /** * Gets the value of the repositoryName property. * * @return possible object is {@link String } * */ public String getRepositoryName() { return repositoryName; } /** * Sets the value of the repositoryName property. * * @param value * allowed object is {@link String } * */ public void setRepositoryName(String value) { this.repositoryName = value; } /** * Gets the value of the baseURL property. * * @return possible object is {@link String } * */ public String getBaseURL() { return baseURL; } /** * Sets the value of the baseURL property. * * @param value * allowed object is {@link String } * */ public void setBaseURL(String value) { this.baseURL = value; } /** * Gets the value of the protocolVersion property. * * @return possible object is {@link String } * */ public String getProtocolVersion() { return protocolVersion; } /** * Sets the value of the protocolVersion property. * * @param value * allowed object is {@link String } * */ public void setProtocolVersion(String value) { this.protocolVersion = value; } /** * Gets the value of the adminEmail 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 adminEmail property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getAdminEmail().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link String } * * */ public List<String> getAdminEmail() { if (adminEmail == null) { adminEmail = new ArrayList<String>(); } return this.adminEmail; } /** * Gets the value of the earliestDatestamp property. * * @return possible object is {@link String } * */ public String getEarliestDatestamp() { return earliestDatestamp; } /** * Sets the value of the earliestDatestamp property. * * @param value * allowed object is {@link String } * */ public void setEarliestDatestamp(String value) { this.earliestDatestamp = value; } /** * Gets the value of the deletedRecord property. * * @return possible object is {@link String } * */ public String getDeletedRecord() { return deletedRecord; } /** * Sets the value of the deletedRecord property. * * @param value * allowed object is {@link String } * */ public void setDeletedRecord(String value) { this.deletedRecord = value; } /** * Gets the value of the granularity property. * * @return possible object is {@link String } * */ public String getGranularity() { return granularity; } /** * Sets the value of the granularity property. * * @param value * allowed object is {@link String } * */ public void setGranularity(String value) { this.granularity = value; } /** * Gets the value of the compression 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 compression property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getCompression().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link String } * * */ public List<String> getCompression() { if (compression == null) { compression = new ArrayList<String>(); } return this.compression; } /** * Gets the value of the description 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 description property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getDescription().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Identify.Description } * * */ public List<Identify.Description> getDescription() { if (description == null) { description = new ArrayList<Identify.Description>(); } return this.description; } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element ref="{http://www.openarchives.org/OAI/1.1/eprints}eprints"/> * <element ref="{http://www.openarchives.org/OAI/2.0/friends/}friends"/> * <element ref="{http://www.openarchives.org/OAI/2.0/oai-identifier}oai-identifier"/> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eprints", "friends", "oaiIdentifier" }) public static class Description implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(namespace = "http://www.openarchives.org/OAI/1.1/eprints") protected Eprints eprints; @XmlElement(namespace = "http://www.openarchives.org/OAI/2.0/friends/") protected Friends friends; @XmlElement(name = "oai-identifier", namespace = "http://www.openarchives.org/OAI/2.0/oai-identifier") protected OaiIdentifier oaiIdentifier; /** * Gets the value of the eprints property. * * @return possible object is {@link Eprints } * */ public Eprints getEprints() { return eprints; } /** * Sets the value of the eprints property. * * @param value * allowed object is {@link Eprints } * */ public void setEprints(Eprints value) { this.eprints = value; } /** * Gets the value of the friends property. * * @return possible object is {@link Friends } * */ public Friends getFriends() { return friends; } /** * Sets the value of the friends property. * * @param value * allowed object is {@link Friends } * */ public void setFriends(Friends value) { this.friends = value; } /** * Gets the value of the oaiIdentifier property. * * @return possible object is {@link OaiIdentifier } * */ public OaiIdentifier getOaiIdentifier() { return oaiIdentifier; } /** * Sets the value of the oaiIdentifier property. * * @param value * allowed object is {@link OaiIdentifier } * */ public void setOaiIdentifier(OaiIdentifier value) { this.oaiIdentifier = value; } } }