All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lumongo.example.medline.schema.PubDate Maven / Gradle / Ivy

There is a newer version: 0.52
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.11.01 at 09:15:44 PM EDT 
//


package org.lumongo.example.medline.schema;

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.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "yearOrMonthOrDayOrSeasonOrMedlineDate"
})
@XmlRootElement(name = "PubDate")
public class PubDate {

    @XmlElements({
        @XmlElement(name = "Year", required = true, type = Year.class),
        @XmlElement(name = "Month", required = true, type = Month.class),
        @XmlElement(name = "Day", required = true, type = Day.class),
        @XmlElement(name = "Season", required = true, type = Season.class),
        @XmlElement(name = "MedlineDate", required = true, type = MedlineDate.class)
    })
    protected List yearOrMonthOrDayOrSeasonOrMedlineDate;

    /**
     * Gets the value of the yearOrMonthOrDayOrSeasonOrMedlineDate 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 set method for the yearOrMonthOrDayOrSeasonOrMedlineDate property. * *

* For example, to add a new item, do as follows: *

     *    getYearOrMonthOrDayOrSeasonOrMedlineDate().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Year } * {@link Month } * {@link Day } * {@link Season } * {@link MedlineDate } * * */ public List getYearOrMonthOrDayOrSeasonOrMedlineDate() { if (yearOrMonthOrDayOrSeasonOrMedlineDate == null) { yearOrMonthOrDayOrSeasonOrMedlineDate = new ArrayList(); } return this.yearOrMonthOrDayOrSeasonOrMedlineDate; } }