1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2008.07.04 at 11:56:00 PM CEST 6 // 7 8 9 package org.springframework.ws.samples.airline.schema; 10 11 import javax.xml.bind.annotation.XmlAccessType; 12 import javax.xml.bind.annotation.XmlAccessorType; 13 import javax.xml.bind.annotation.XmlElement; 14 import javax.xml.bind.annotation.XmlType; 15 import javax.xml.datatype.XMLGregorianCalendar; 16 17 18 /** 19 * <p>Java class for Flight complex type. 20 * 21 * <p>The following schema fragment specifies the expected content contained within this class. 22 * 23 * <pre> 24 * <complexType name="Flight"> 25 * <complexContent> 26 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 27 * <sequence> 28 * <element name="number" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}FlightNumber"/> 29 * <element name="departureTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> 30 * <element name="from" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}Airport"/> 31 * <element name="arrivalTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> 32 * <element name="to" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}Airport"/> 33 * <element name="serviceClass" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}ServiceClass"/> 34 * </sequence> 35 * </restriction> 36 * </complexContent> 37 * </complexType> 38 * </pre> 39 * 40 * 41 */ 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "Flight", propOrder = { 44 "number", 45 "departureTime", 46 "from", 47 "arrivalTime", 48 "to", 49 "serviceClass" 50 }) 51 public class Flight { 52 53 @XmlElement(required = true) 54 protected String number; 55 @XmlElement(required = true) 56 protected XMLGregorianCalendar departureTime; 57 @XmlElement(required = true) 58 protected Airport from; 59 @XmlElement(required = true) 60 protected XMLGregorianCalendar arrivalTime; 61 @XmlElement(required = true) 62 protected Airport to; 63 @XmlElement(required = true) 64 protected ServiceClass serviceClass; 65 66 /** 67 * Gets the value of the number property. 68 * 69 * @return 70 * possible object is 71 * {@link String } 72 * 73 */ 74 public String getNumber() { 75 return number; 76 } 77 78 /** 79 * Sets the value of the number property. 80 * 81 * @param value 82 * allowed object is 83 * {@link String } 84 * 85 */ 86 public void setNumber(String value) { 87 this.number = value; 88 } 89 90 /** 91 * Gets the value of the departureTime property. 92 * 93 * @return 94 * possible object is 95 * {@link XMLGregorianCalendar } 96 * 97 */ 98 public XMLGregorianCalendar getDepartureTime() { 99 return departureTime; 100 } 101 102 /** 103 * Sets the value of the departureTime property. 104 * 105 * @param value 106 * allowed object is 107 * {@link XMLGregorianCalendar } 108 * 109 */ 110 public void setDepartureTime(XMLGregorianCalendar value) { 111 this.departureTime = value; 112 } 113 114 /** 115 * Gets the value of the from property. 116 * 117 * @return 118 * possible object is 119 * {@link Airport } 120 * 121 */ 122 public Airport getFrom() { 123 return from; 124 } 125 126 /** 127 * Sets the value of the from property. 128 * 129 * @param value 130 * allowed object is 131 * {@link Airport } 132 * 133 */ 134 public void setFrom(Airport value) { 135 this.from = value; 136 } 137 138 /** 139 * Gets the value of the arrivalTime property. 140 * 141 * @return 142 * possible object is 143 * {@link XMLGregorianCalendar } 144 * 145 */ 146 public XMLGregorianCalendar getArrivalTime() { 147 return arrivalTime; 148 } 149 150 /** 151 * Sets the value of the arrivalTime property. 152 * 153 * @param value 154 * allowed object is 155 * {@link XMLGregorianCalendar } 156 * 157 */ 158 public void setArrivalTime(XMLGregorianCalendar value) { 159 this.arrivalTime = value; 160 } 161 162 /** 163 * Gets the value of the to property. 164 * 165 * @return 166 * possible object is 167 * {@link Airport } 168 * 169 */ 170 public Airport getTo() { 171 return to; 172 } 173 174 /** 175 * Sets the value of the to property. 176 * 177 * @param value 178 * allowed object is 179 * {@link Airport } 180 * 181 */ 182 public void setTo(Airport value) { 183 this.to = value; 184 } 185 186 /** 187 * Gets the value of the serviceClass property. 188 * 189 * @return 190 * possible object is 191 * {@link ServiceClass } 192 * 193 */ 194 public ServiceClass getServiceClass() { 195 return serviceClass; 196 } 197 198 /** 199 * Sets the value of the serviceClass property. 200 * 201 * @param value 202 * allowed object is 203 * {@link ServiceClass } 204 * 205 */ 206 public void setServiceClass(ServiceClass value) { 207 this.serviceClass = value; 208 } 209 210 }