//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.3-b01-fcs
// 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: 2009.06.03 at 01:03:34 AM EDT
//
package org.mindinformatics.services.connector.pubmed.fetch;
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.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>
* <sequence>
* <element ref="{}Year"/>
* <element ref="{}Month"/>
* <element ref="{}Day"/>
* <sequence minOccurs="0">
* <element ref="{}Hour"/>
* <sequence minOccurs="0">
* <element ref="{}Minute"/>
* <element ref="{}Second" minOccurs="0"/>
* </sequence>
* </sequence>
* </sequence>
* </sequence>
* <attribute name="DateType" type="{http://www.w3.org/2001/XMLSchema}string" fixed="Electronic" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"year",
"month",
"day",
"hour",
"minute",
"second"
})
@XmlRootElement(name = "ArticleDate")
public class ArticleDate {
@XmlElement(name = "Year", required = true)
protected Year year;
@XmlElement(name = "Month", required = true)
protected Month month;
@XmlElement(name = "Day", required = true)
protected Day day;
@XmlElement(name = "Hour")
protected Hour hour;
@XmlElement(name = "Minute")
protected Minute minute;
@XmlElement(name = "Second")
protected Second second;
@XmlAttribute(name = "DateType")
protected String dateType;
/**
* Gets the value of the year property.
*
* @return
* possible object is
* {@link Year }
*
*/
public Year getYear() {
return year;
}
/**
* Sets the value of the year property.
*
* @param value
* allowed object is
* {@link Year }
*
*/
public void setYear(Year value) {
this.year = value;
}
/**
* Gets the value of the month property.
*
* @return
* possible object is
* {@link Month }
*
*/
public Month getMonth() {
return month;
}
/**
* Sets the value of the month property.
*
* @param value
* allowed object is
* {@link Month }
*
*/
public void setMonth(Month value) {
this.month = value;
}
/**
* Gets the value of the day property.
*
* @return
* possible object is
* {@link Day }
*
*/
public Day getDay() {
return day;
}
/**
* Sets the value of the day property.
*
* @param value
* allowed object is
* {@link Day }
*
*/
public void setDay(Day value) {
this.day = value;
}
/**
* Gets the value of the hour property.
*
* @return
* possible object is
* {@link Hour }
*
*/
public Hour getHour() {
return hour;
}
/**
* Sets the value of the hour property.
*
* @param value
* allowed object is
* {@link Hour }
*
*/
public void setHour(Hour value) {
this.hour = value;
}
/**
* Gets the value of the minute property.
*
* @return
* possible object is
* {@link Minute }
*
*/
public Minute getMinute() {
return minute;
}
/**
* Sets the value of the minute property.
*
* @param value
* allowed object is
* {@link Minute }
*
*/
public void setMinute(Minute value) {
this.minute = value;
}
/**
* Gets the value of the second property.
*
* @return
* possible object is
* {@link Second }
*
*/
public Second getSecond() {
return second;
}
/**
* Sets the value of the second property.
*
* @param value
* allowed object is
* {@link Second }
*
*/
public void setSecond(Second value) {
this.second = value;
}
/**
* Gets the value of the dateType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDateType() {
if (dateType == null) {
return "Electronic";
} else {
return dateType;
}
}
/**
* Sets the value of the dateType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDateType(String value) {
this.dateType = value;
}
}