net.sourceforge.ota_tools.jaxb.ota2010a.ping.DateTimeSpanType Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.31 at 04:22:27 PM PST
//
package net.sourceforge.ota_tools.jaxb.ota2010a.ping;
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;
/**
* Used to specify a time window range by either specifying an earliest and latest date for the start date and end date or by giving a date with a time period that can be applied before and/or after the start date.
*
* Java class for DateTimeSpanType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DateTimeSpanType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="DateWindowRange" type="{http://www.opentravel.org/OTA/2003/05}TimeInstantType"/>
* <sequence>
* <element name="StartDateWindow" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}TimeWindowGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="EndDateWindow" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}TimeWindowGroup"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </choice>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}DateTimeSpanGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DateTimeSpanType", propOrder = {
"dateWindowRange",
"startDateWindow",
"endDateWindow"
})
public class DateTimeSpanType {
@XmlElement(name = "DateWindowRange")
protected TimeInstantType dateWindowRange;
@XmlElement(name = "StartDateWindow")
protected DateTimeSpanType.StartDateWindow startDateWindow;
@XmlElement(name = "EndDateWindow")
protected DateTimeSpanType.EndDateWindow endDateWindow;
@XmlAttribute(name = "Start")
protected String start;
@XmlAttribute(name = "Duration")
protected String duration;
@XmlAttribute(name = "End")
protected String end;
/**
* Gets the value of the dateWindowRange property.
*
* @return
* possible object is
* {@link TimeInstantType }
*
*/
public TimeInstantType getDateWindowRange() {
return dateWindowRange;
}
/**
* Sets the value of the dateWindowRange property.
*
* @param value
* allowed object is
* {@link TimeInstantType }
*
*/
public void setDateWindowRange(TimeInstantType value) {
this.dateWindowRange = value;
}
/**
* Gets the value of the startDateWindow property.
*
* @return
* possible object is
* {@link DateTimeSpanType.StartDateWindow }
*
*/
public DateTimeSpanType.StartDateWindow getStartDateWindow() {
return startDateWindow;
}
/**
* Sets the value of the startDateWindow property.
*
* @param value
* allowed object is
* {@link DateTimeSpanType.StartDateWindow }
*
*/
public void setStartDateWindow(DateTimeSpanType.StartDateWindow value) {
this.startDateWindow = value;
}
/**
* Gets the value of the endDateWindow property.
*
* @return
* possible object is
* {@link DateTimeSpanType.EndDateWindow }
*
*/
public DateTimeSpanType.EndDateWindow getEndDateWindow() {
return endDateWindow;
}
/**
* Sets the value of the endDateWindow property.
*
* @param value
* allowed object is
* {@link DateTimeSpanType.EndDateWindow }
*
*/
public void setEndDateWindow(DateTimeSpanType.EndDateWindow value) {
this.endDateWindow = value;
}
/**
* Gets the value of the start property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStart() {
return start;
}
/**
* Sets the value of the start property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStart(String value) {
this.start = value;
}
/**
* Gets the value of the duration property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDuration() {
return duration;
}
/**
* Sets the value of the duration property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDuration(String value) {
this.duration = value;
}
/**
* Gets the value of the end property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnd() {
return end;
}
/**
* Sets the value of the end property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnd(String value) {
this.end = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}TimeWindowGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class EndDateWindow {
@XmlAttribute(name = "EarliestDate")
protected String earliestDate;
@XmlAttribute(name = "LatestDate")
protected String latestDate;
@XmlAttribute(name = "DOW")
protected DayOfWeekType dow;
/**
* Gets the value of the earliestDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEarliestDate() {
return earliestDate;
}
/**
* Sets the value of the earliestDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEarliestDate(String value) {
this.earliestDate = value;
}
/**
* Gets the value of the latestDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLatestDate() {
return latestDate;
}
/**
* Sets the value of the latestDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLatestDate(String value) {
this.latestDate = value;
}
/**
* Gets the value of the dow property.
*
* @return
* possible object is
* {@link DayOfWeekType }
*
*/
public DayOfWeekType getDOW() {
return dow;
}
/**
* Sets the value of the dow property.
*
* @param value
* allowed object is
* {@link DayOfWeekType }
*
*/
public void setDOW(DayOfWeekType value) {
this.dow = value;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}TimeWindowGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class StartDateWindow {
@XmlAttribute(name = "EarliestDate")
protected String earliestDate;
@XmlAttribute(name = "LatestDate")
protected String latestDate;
@XmlAttribute(name = "DOW")
protected DayOfWeekType dow;
/**
* Gets the value of the earliestDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEarliestDate() {
return earliestDate;
}
/**
* Sets the value of the earliestDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEarliestDate(String value) {
this.earliestDate = value;
}
/**
* Gets the value of the latestDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLatestDate() {
return latestDate;
}
/**
* Sets the value of the latestDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLatestDate(String value) {
this.latestDate = value;
}
/**
* Gets the value of the dow property.
*
* @return
* possible object is
* {@link DayOfWeekType }
*
*/
public DayOfWeekType getDOW() {
return dow;
}
/**
* Sets the value of the dow property.
*
* @param value
* allowed object is
* {@link DayOfWeekType }
*
*/
public void setDOW(DayOfWeekType value) {
this.dow = value;
}
}
}