View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.cxf.weatherservice.myweather;
8   
9   import java.util.ArrayList;
10  import java.util.List;
11  
12  import javax.xml.bind.annotation.XmlAccessType;
13  import javax.xml.bind.annotation.XmlAccessorType;
14  import javax.xml.bind.annotation.XmlElement;
15  import javax.xml.bind.annotation.XmlType;
16  
17  
18  /**
19   * <p>Java class for ArrayOfWeatherDescription complex type.
20   *
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   *
23   * <pre>
24   * &lt;complexType name="ArrayOfWeatherDescription">
25   *   &lt;complexContent>
26   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *       &lt;sequence>
28   *         &lt;element name="WeatherDescription" type="{http://ws.cdyne.com/WeatherWS/}WeatherDescription" maxOccurs="unbounded" minOccurs="0"/>
29   *       &lt;/sequence>
30   *     &lt;/restriction>
31   *   &lt;/complexContent>
32   * &lt;/complexType>
33   * </pre>
34   *
35   *
36   */
37  @XmlAccessorType(XmlAccessType.FIELD)
38  @XmlType(name = "ArrayOfWeatherDescription", namespace = "http://ws.cdyne.com/WeatherWS/", propOrder = {
39      "weatherDescription"
40  })
41  public class ArrayOfWeatherDescription {
42  
43      @XmlElement(name = "WeatherDescription", namespace = "http://ws.cdyne.com/WeatherWS/")
44      protected List<WeatherDescription> weatherDescription;
45  
46      /**
47       * Gets the value of the weatherDescription property.
48       *
49       * <p>
50       * This accessor method returns a reference to the live list,
51       * not a snapshot. Therefore any modification you make to the
52       * returned list will be present inside the JAXB object.
53       * This is why there is not a <CODE>set</CODE> method for the weatherDescription property.
54       *
55       * <p>
56       * For example, to add a new item, do as follows:
57       * <pre>
58       *    getWeatherDescription().add(newItem);
59       * </pre>
60       *
61       *
62       * <p>
63       * Objects of the following type(s) are allowed in the list
64       * {@link WeatherDescription }
65       *
66       *
67       */
68      public List<WeatherDescription> getWeatherDescription() {
69          if (weatherDescription == null) {
70              weatherDescription = new ArrayList<WeatherDescription>();
71          }
72          return this.weatherDescription;
73      }
74  
75  }