KickJava   Java API By Example, From Geeks To Geeks.

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


1
2 package org.objectweb.rentacar.services.client;
3
4 import javax.xml.bind.annotation.AccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlType;
7 import javax.xml.datatype.XMLGregorianCalendar JavaDoc;
8 import org.objectweb.rentacar.services.client.CreateReservation;
9
10
11 /**
12  * <p>Java class for createReservation complex type.
13  *
14  * <p>The following schema fragment specifies the expected content contained within this class.
15  *
16  * <pre>
17  * &lt;complexType name="createReservation">
18  * &lt;complexContent>
19  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20  * &lt;sequence>
21  * &lt;element name="carId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
22  * &lt;element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
23  * &lt;element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
24  * &lt;element name="customerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
25  * &lt;element name="startAgencyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
26  * &lt;element name="endAgencyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
27  * &lt;/sequence>
28  * &lt;/restriction>
29  * &lt;/complexContent>
30  * &lt;/complexType>
31  * </pre>
32  *
33  *
34  */

35 @XmlAccessorType(AccessType.FIELD)
36 @XmlType(name = "createReservation", propOrder = {
37     "carId",
38     "startDate",
39     "endDate",
40     "customerId",
41     "startAgencyId",
42     "endAgencyId"
43 })
44 public class CreateReservation {
45
46     protected String JavaDoc carId;
47     protected XMLGregorianCalendar JavaDoc startDate;
48     protected XMLGregorianCalendar JavaDoc endDate;
49     protected String JavaDoc customerId;
50     protected String JavaDoc startAgencyId;
51     protected String JavaDoc endAgencyId;
52
53     /**
54      * Gets the value of the carId property.
55      *
56      * @return
57      * possible object is
58      * {@link String }
59      *
60      */

61     public String JavaDoc getCarId() {
62         return carId;
63     }
64
65     /**
66      * Sets the value of the carId property.
67      *
68      * @param value
69      * allowed object is
70      * {@link String }
71      *
72      */

73     public void setCarId(String JavaDoc value) {
74         this.carId = value;
75     }
76
77     /**
78      * Gets the value of the startDate property.
79      *
80      * @return
81      * possible object is
82      * {@link XMLGregorianCalendar }
83      *
84      */

85     public XMLGregorianCalendar JavaDoc getStartDate() {
86         return startDate;
87     }
88
89     /**
90      * Sets the value of the startDate property.
91      *
92      * @param value
93      * allowed object is
94      * {@link XMLGregorianCalendar }
95      *
96      */

97     public void setStartDate(XMLGregorianCalendar JavaDoc value) {
98         this.startDate = value;
99     }
100
101     /**
102      * Gets the value of the endDate property.
103      *
104      * @return
105      * possible object is
106      * {@link XMLGregorianCalendar }
107      *
108      */

109     public XMLGregorianCalendar JavaDoc getEndDate() {
110         return endDate;
111     }
112
113     /**
114      * Sets the value of the endDate property.
115      *
116      * @param value
117      * allowed object is
118      * {@link XMLGregorianCalendar }
119      *
120      */

121     public void setEndDate(XMLGregorianCalendar JavaDoc value) {
122         this.endDate = value;
123     }
124
125     /**
126      * Gets the value of the customerId property.
127      *
128      * @return
129      * possible object is
130      * {@link String }
131      *
132      */

133     public String JavaDoc getCustomerId() {
134         return customerId;
135     }
136
137     /**
138      * Sets the value of the customerId property.
139      *
140      * @param value
141      * allowed object is
142      * {@link String }
143      *
144      */

145     public void setCustomerId(String JavaDoc value) {
146         this.customerId = value;
147     }
148
149     /**
150      * Gets the value of the startAgencyId property.
151      *
152      * @return
153      * possible object is
154      * {@link String }
155      *
156      */

157     public String JavaDoc getStartAgencyId() {
158         return startAgencyId;
159     }
160
161     /**
162      * Sets the value of the startAgencyId property.
163      *
164      * @param value
165      * allowed object is
166      * {@link String }
167      *
168      */

169     public void setStartAgencyId(String JavaDoc value) {
170         this.startAgencyId = value;
171     }
172
173     /**
174      * Gets the value of the endAgencyId property.
175      *
176      * @return
177      * possible object is
178      * {@link String }
179      *
180      */

181     public String JavaDoc getEndAgencyId() {
182         return endAgencyId;
183     }
184
185     /**
186      * Sets the value of the endAgencyId property.
187      *
188      * @param value
189      * allowed object is
190      * {@link String }
191      *
192      */

193     public void setEndAgencyId(String JavaDoc value) {
194         this.endAgencyId = value;
195     }
196
197 }
198
Popular Tags