KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > services > client > RetreiveAgenciesResponse


1
2 package org.objectweb.rentacar.services.client;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6 import javax.xml.bind.annotation.AccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlType;
10 import org.objectweb.rentacar.services.client.AgencyVO;
11 import org.objectweb.rentacar.services.client.RetreiveAgenciesResponse;
12
13
14 /**
15  * <p>Java class for retreiveAgenciesResponse complex type.
16  *
17  * <p>The following schema fragment specifies the expected content contained within this class.
18  *
19  * <pre>
20  * &lt;complexType name="retreiveAgenciesResponse">
21  * &lt;complexContent>
22  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23  * &lt;sequence>
24  * &lt;element name="return" type="{http://consultation.services.centraloffice.rentacar.objectweb.org/}agencyVO" maxOccurs="unbounded" minOccurs="0"/>
25  * &lt;/sequence>
26  * &lt;/restriction>
27  * &lt;/complexContent>
28  * &lt;/complexType>
29  * </pre>
30  *
31  *
32  */

33 @XmlAccessorType(AccessType.FIELD)
34 @XmlType(name = "retreiveAgenciesResponse", propOrder = {
35     "_return"
36 })
37 public class RetreiveAgenciesResponse {
38
39     @XmlElement(name = "return")
40     protected List JavaDoc<AgencyVO> _return;
41
42     /**
43      * Gets the value of the return property.
44      *
45      * <p>
46      * This accessor method returns a reference to the live list,
47      * not a snapshot. Therefore any modification you make to the
48      * returned list will be present inside the JAXB object.
49      * This is why there is not a <CODE>set</CODE> method for the return property.
50      *
51      * <p>
52      * For example, to add a new item, do as follows:
53      * <pre>
54      * getReturn().add(newItem);
55      * </pre>
56      *
57      *
58      * <p>
59      * Objects of the following type(s) are allowed in the list
60      * {@link AgencyVO }
61      *
62      *
63      */

64     public List JavaDoc<AgencyVO> getReturn() {
65         if (_return == null) {
66             _return = new ArrayList JavaDoc<AgencyVO>();
67         }
68         return this._return;
69     }
70
71 }
72
Popular Tags