View Javadoc

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.XmlRootElement;
15  import javax.xml.bind.annotation.XmlType;
16  import javax.xml.datatype.XMLGregorianCalendar;
17  
18  
19  /**
20   * <p>Java class for anonymous complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType>
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;all>
29   *         &lt;element name="from" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}AirportCode"/>
30   *         &lt;element name="to" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}AirportCode"/>
31   *         &lt;element name="departureDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
32   *         &lt;element name="serviceClass" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}ServiceClass" minOccurs="0"/>
33   *       &lt;/all>
34   *     &lt;/restriction>
35   *   &lt;/complexContent>
36   * &lt;/complexType>
37   * </pre>
38   * 
39   * 
40   */
41  @XmlAccessorType(XmlAccessType.FIELD)
42  @XmlType(name = "", propOrder = {
43  
44  })
45  @XmlRootElement(name = "GetFlightsRequest", namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages")
46  public class GetFlightsRequest {
47  
48      @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", required = true)
49      protected String from;
50      @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", required = true)
51      protected String to;
52      @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", required = true)
53      protected XMLGregorianCalendar departureDate;
54      @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages")
55      protected ServiceClass serviceClass;
56  
57      /**
58       * Gets the value of the from property.
59       * 
60       * @return
61       *     possible object is
62       *     {@link String }
63       *     
64       */
65      public String getFrom() {
66          return from;
67      }
68  
69      /**
70       * Sets the value of the from property.
71       * 
72       * @param value
73       *     allowed object is
74       *     {@link String }
75       *     
76       */
77      public void setFrom(String value) {
78          this.from = value;
79      }
80  
81      /**
82       * Gets the value of the to property.
83       * 
84       * @return
85       *     possible object is
86       *     {@link String }
87       *     
88       */
89      public String getTo() {
90          return to;
91      }
92  
93      /**
94       * Sets the value of the to property.
95       * 
96       * @param value
97       *     allowed object is
98       *     {@link String }
99       *     
100      */
101     public void setTo(String value) {
102         this.to = value;
103     }
104 
105     /**
106      * Gets the value of the departureDate property.
107      * 
108      * @return
109      *     possible object is
110      *     {@link XMLGregorianCalendar }
111      *     
112      */
113     public XMLGregorianCalendar getDepartureDate() {
114         return departureDate;
115     }
116 
117     /**
118      * Sets the value of the departureDate property.
119      * 
120      * @param value
121      *     allowed object is
122      *     {@link XMLGregorianCalendar }
123      *     
124      */
125     public void setDepartureDate(XMLGregorianCalendar value) {
126         this.departureDate = value;
127     }
128 
129     /**
130      * Gets the value of the serviceClass property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link ServiceClass }
135      *     
136      */
137     public ServiceClass getServiceClass() {
138         return serviceClass;
139     }
140 
141     /**
142      * Sets the value of the serviceClass property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link ServiceClass }
147      *     
148      */
149     public void setServiceClass(ServiceClass value) {
150         this.serviceClass = value;
151     }
152 
153 }