View Javadoc

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