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

it.bz.opendatahub.alpinebits.xml.schema.ota.VehReservation Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.10.22 at 07:23:30 PM GMT 
//


package it.bz.opendatahub.alpinebits.xml.schema.ota;

import java.time.LocalDate;
import java.time.ZonedDateTime;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import it.bz.opendatahub.alpinebits.xml.xmladapter.LocalDateAdapter;
import it.bz.opendatahub.alpinebits.xml.xmladapter.ZonedDateTimeAdapter;


/**
 * The VehicleReservationType complex type identifies the data that describes a vehicle reservation.  This data includes information on the customer(s) associated with the rental and details on the vehicle that is being rented.
 * 
 * 

Java class for VehicleReservationType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="VehicleReservationType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Customer" type="{http://www.opentravel.org/OTA/2003/05}CustomerPrimaryAdditionalType" minOccurs="0"/>
 *         <element name="VehSegmentCore">
 *           <complexType>
 *             <complexContent>
 *               <extension base="{http://www.opentravel.org/OTA/2003/05}VehicleSegmentCoreType">
 *                 <attribute name="OptionChangeAllowedIndicator" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *               </extension>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="VehSegmentInfo" type="{http://www.opentravel.org/OTA/2003/05}VehicleSegmentAdditionalInfoType" minOccurs="0"/>
 *       </sequence>
 *       <attGroup ref="{http://www.opentravel.org/OTA/2003/05}DateTimeStampGroup"/>
 *       <attribute name="ReservationStatus">
 *         <simpleType>
 *           <union memberTypes=" {http://www.opentravel.org/OTA/2003/05}TransactionStatusType {http://www.opentravel.org/OTA/2003/05}UpperCaseAlphaLength1to2">
 *           </union>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VehicleReservationType", propOrder = { "customer", "vehSegmentCore", "vehSegmentInfo" }) @XmlRootElement(name = "VehReservation") public class VehReservation { @XmlElement(name = "Customer") protected CustomerPrimaryAdditionalType customer; @XmlElement(name = "VehSegmentCore", required = true) protected VehReservation.VehSegmentCore vehSegmentCore; @XmlElement(name = "VehSegmentInfo") protected VehicleSegmentAdditionalInfoType vehSegmentInfo; @XmlAttribute(name = "ReservationStatus") protected String reservationStatus; @XmlAttribute(name = "CreateDateTime") @XmlJavaTypeAdapter(ZonedDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime createDateTime; @XmlAttribute(name = "CreatorID") protected String creatorID; @XmlAttribute(name = "LastModifyDateTime") @XmlJavaTypeAdapter(ZonedDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime lastModifyDateTime; @XmlAttribute(name = "LastModifierID") protected String lastModifierID; @XmlAttribute(name = "PurgeDate") @XmlJavaTypeAdapter(LocalDateAdapter.class) @XmlSchemaType(name = "date") protected LocalDate purgeDate; /** * Gets the value of the customer property. * * @return * possible object is * {@link CustomerPrimaryAdditionalType } * */ public CustomerPrimaryAdditionalType getCustomer() { return customer; } /** * Sets the value of the customer property. * * @param value * allowed object is * {@link CustomerPrimaryAdditionalType } * */ public void setCustomer(CustomerPrimaryAdditionalType value) { this.customer = value; } /** * Gets the value of the vehSegmentCore property. * * @return * possible object is * {@link VehReservation.VehSegmentCore } * */ public VehReservation.VehSegmentCore getVehSegmentCore() { return vehSegmentCore; } /** * Sets the value of the vehSegmentCore property. * * @param value * allowed object is * {@link VehReservation.VehSegmentCore } * */ public void setVehSegmentCore(VehReservation.VehSegmentCore value) { this.vehSegmentCore = value; } /** * Gets the value of the vehSegmentInfo property. * * @return * possible object is * {@link VehicleSegmentAdditionalInfoType } * */ public VehicleSegmentAdditionalInfoType getVehSegmentInfo() { return vehSegmentInfo; } /** * Sets the value of the vehSegmentInfo property. * * @param value * allowed object is * {@link VehicleSegmentAdditionalInfoType } * */ public void setVehSegmentInfo(VehicleSegmentAdditionalInfoType value) { this.vehSegmentInfo = value; } /** * Gets the value of the reservationStatus property. * * @return * possible object is * {@link String } * */ public String getReservationStatus() { return reservationStatus; } /** * Sets the value of the reservationStatus property. * * @param value * allowed object is * {@link String } * */ public void setReservationStatus(String value) { this.reservationStatus = value; } /** * Gets the value of the createDateTime property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getCreateDateTime() { return createDateTime; } /** * Sets the value of the createDateTime property. * * @param value * allowed object is * {@link String } * */ public void setCreateDateTime(ZonedDateTime value) { this.createDateTime = value; } /** * Gets the value of the creatorID property. * * @return * possible object is * {@link String } * */ public String getCreatorID() { return creatorID; } /** * Sets the value of the creatorID property. * * @param value * allowed object is * {@link String } * */ public void setCreatorID(String value) { this.creatorID = value; } /** * Gets the value of the lastModifyDateTime property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getLastModifyDateTime() { return lastModifyDateTime; } /** * Sets the value of the lastModifyDateTime property. * * @param value * allowed object is * {@link String } * */ public void setLastModifyDateTime(ZonedDateTime value) { this.lastModifyDateTime = value; } /** * Gets the value of the lastModifierID property. * * @return * possible object is * {@link String } * */ public String getLastModifierID() { return lastModifierID; } /** * Sets the value of the lastModifierID property. * * @param value * allowed object is * {@link String } * */ public void setLastModifierID(String value) { this.lastModifierID = value; } /** * Gets the value of the purgeDate property. * * @return * possible object is * {@link String } * */ public LocalDate getPurgeDate() { return purgeDate; } /** * Sets the value of the purgeDate property. * * @param value * allowed object is * {@link String } * */ public void setPurgeDate(LocalDate value) { this.purgeDate = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <extension base="{http://www.opentravel.org/OTA/2003/05}VehicleSegmentCoreType">
     *       <attribute name="OptionChangeAllowedIndicator" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     *     </extension>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class VehSegmentCore extends VehicleSegmentCoreType { @XmlAttribute(name = "OptionChangeAllowedIndicator") protected Boolean optionChangeAllowedIndicator; /** * Gets the value of the optionChangeAllowedIndicator property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOptionChangeAllowedIndicator() { return optionChangeAllowedIndicator; } /** * Sets the value of the optionChangeAllowedIndicator property. * * @param value * allowed object is * {@link Boolean } * */ public void setOptionChangeAllowedIndicator(Boolean value) { this.optionChangeAllowedIndicator = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy