KickJava   Java API By Example, From Geeks To Geeks.

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


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.CarVO;
11 import org.objectweb.rentacar.services.client.ConsultAvailabilityResponse;
12
13
14 /**
15  * <p>Java class for consultAvailabilityResponse complex type.
16  *
17  * <p>The following schema fragment specifies the expected content contained within this class.
18  *
19  * <pre>
20  * &lt;complexType name="consultAvailabilityResponse">
21  * &lt;complexContent>
22  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23  * &lt;sequence>
24  * &lt;element name="return" type="{http://availability.services.agency.rentacar.objectweb.org/}carVO" 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 = "consultAvailabilityResponse", propOrder = {
35     "_return"
36 })
37 public class ConsultAvailabilityResponse {
38
39     @XmlElement(name = "return")
40     protected List JavaDoc<CarVO> _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 CarVO }
61      *
62      *
63      */

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