net.sourceforge.ota_tools.jaxb.ota2010a.ping.TravelDateTimeType 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.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Date and time of trip that allows specifying a time window before and after the given date.
*
* Java class for TravelDateTimeType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TravelDateTimeType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="DepartureDateTime" type="{http://www.opentravel.org/OTA/2003/05}TimeInstantType"/>
* <element name="ArrivalDateTime" type="{http://www.opentravel.org/OTA/2003/05}TimeInstantType"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TravelDateTimeType", propOrder = {
"departureDateTime",
"arrivalDateTime"
})
@XmlSeeAlso({
OriginDestinationInformationType.class
})
public class TravelDateTimeType {
@XmlElement(name = "DepartureDateTime")
protected TimeInstantType departureDateTime;
@XmlElement(name = "ArrivalDateTime")
protected TimeInstantType arrivalDateTime;
/**
* Gets the value of the departureDateTime property.
*
* @return
* possible object is
* {@link TimeInstantType }
*
*/
public TimeInstantType getDepartureDateTime() {
return departureDateTime;
}
/**
* Sets the value of the departureDateTime property.
*
* @param value
* allowed object is
* {@link TimeInstantType }
*
*/
public void setDepartureDateTime(TimeInstantType value) {
this.departureDateTime = value;
}
/**
* Gets the value of the arrivalDateTime property.
*
* @return
* possible object is
* {@link TimeInstantType }
*
*/
public TimeInstantType getArrivalDateTime() {
return arrivalDateTime;
}
/**
* Sets the value of the arrivalDateTime property.
*
* @param value
* allowed object is
* {@link TimeInstantType }
*
*/
public void setArrivalDateTime(TimeInstantType value) {
this.arrivalDateTime = value;
}
}