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.XmlType;
15  
16  
17  /**
18   * <p>Java class for Airport complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="Airport">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;all>
27   *         &lt;element name="code" type="{http://www.springframework.org/spring-ws/samples/airline/schemas/types}AirportCode"/>
28   *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
29   *         &lt;element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/>
30   *       &lt;/all>
31   *     &lt;/restriction>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "Airport", propOrder = {
40  
41  })
42  public class Airport {
43  
44      @XmlElement(required = true)
45      protected String code;
46      @XmlElement(required = true)
47      protected String name;
48      @XmlElement(required = true)
49      protected String city;
50  
51      /**
52       * Gets the value of the code property.
53       * 
54       * @return
55       *     possible object is
56       *     {@link String }
57       *     
58       */
59      public String getCode() {
60          return code;
61      }
62  
63      /**
64       * Sets the value of the code property.
65       * 
66       * @param value
67       *     allowed object is
68       *     {@link String }
69       *     
70       */
71      public void setCode(String value) {
72          this.code = value;
73      }
74  
75      /**
76       * Gets the value of the name property.
77       * 
78       * @return
79       *     possible object is
80       *     {@link String }
81       *     
82       */
83      public String getName() {
84          return name;
85      }
86  
87      /**
88       * Sets the value of the name property.
89       * 
90       * @param value
91       *     allowed object is
92       *     {@link String }
93       *     
94       */
95      public void setName(String value) {
96          this.name = value;
97      }
98  
99      /**
100      * Gets the value of the city property.
101      * 
102      * @return
103      *     possible object is
104      *     {@link String }
105      *     
106      */
107     public String getCity() {
108         return city;
109     }
110 
111     /**
112      * Sets the value of the city property.
113      * 
114      * @param value
115      *     allowed object is
116      *     {@link String }
117      *     
118      */
119     public void setCity(String value) {
120         this.city = value;
121     }
122 
123 }