KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlElement;
7 import javax.xml.bind.annotation.XmlType;
8 import javax.xml.datatype.XMLGregorianCalendar JavaDoc;
9 import org.objectweb.rentacar.services.client.AgencyVO;
10 import org.objectweb.rentacar.services.client.CarCriteria;
11 import org.objectweb.rentacar.services.client.ContactVO;
12 import org.objectweb.rentacar.services.client.CreateReservationPartner;
13
14
15 /**
16  * <p>Java class for createReservationPartner complex type.
17  *
18  * <p>The following schema fragment specifies the expected content contained within this class.
19  *
20  * <pre>
21  * &lt;complexType name="createReservationPartner">
22  * &lt;complexContent>
23  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24  * &lt;sequence>
25  * &lt;element name="criterion" type="{http://reservation.services.agency.rentacar.objectweb.org/}carCriteria" minOccurs="0"/>
26  * &lt;element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/>
27  * &lt;element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
28  * &lt;element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
29  * &lt;element name="customer" type="{http://reservation.services.agency.rentacar.objectweb.org/}contactVO" minOccurs="0"/>
30  * &lt;element name="startAgency" type="{http://reservation.services.agency.rentacar.objectweb.org/}agencyVO" minOccurs="0"/>
31  * &lt;element name="endAgency" type="{http://reservation.services.agency.rentacar.objectweb.org/}agencyVO" minOccurs="0"/>
32  * &lt;/sequence>
33  * &lt;/restriction>
34  * &lt;/complexContent>
35  * &lt;/complexType>
36  * </pre>
37  *
38  *
39  */

40 @XmlAccessorType(AccessType.FIELD)
41 @XmlType(name = "createReservationPartner", propOrder = {
42     "criterion",
43     "quantity",
44     "startDate",
45     "endDate",
46     "customer",
47     "startAgency",
48     "endAgency"
49 })
50 public class CreateReservationPartner {
51
52     protected CarCriteria criterion;
53     @XmlElement(type = Integer JavaDoc.class)
54     protected int quantity;
55     protected XMLGregorianCalendar JavaDoc startDate;
56     protected XMLGregorianCalendar JavaDoc endDate;
57     protected ContactVO customer;
58     protected AgencyVO startAgency;
59     protected AgencyVO endAgency;
60
61     /**
62      * Gets the value of the criterion property.
63      *
64      * @return
65      * possible object is
66      * {@link CarCriteria }
67      *
68      */

69     public CarCriteria getCriterion() {
70         return criterion;
71     }
72
73     /**
74      * Sets the value of the criterion property.
75      *
76      * @param value
77      * allowed object is
78      * {@link CarCriteria }
79      *
80      */

81     public void setCriterion(CarCriteria value) {
82         this.criterion = value;
83     }
84
85     /**
86      * Gets the value of the quantity property.
87      *
88      */

89     public int getQuantity() {
90         return quantity;
91     }
92
93     /**
94      * Sets the value of the quantity property.
95      *
96      */

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

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

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

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

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

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

169     public void setCustomer(ContactVO value) {
170         this.customer = value;
171     }
172
173     /**
174      * Gets the value of the startAgency property.
175      *
176      * @return
177      * possible object is
178      * {@link AgencyVO }
179      *
180      */

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

193     public void setStartAgency(AgencyVO value) {
194         this.startAgency = value;
195     }
196
197     /**
198      * Gets the value of the endAgency property.
199      *
200      * @return
201      * possible object is
202      * {@link AgencyVO }
203      *
204      */

205     public AgencyVO getEndAgency() {
206         return endAgency;
207     }
208
209     /**
210      * Sets the value of the endAgency property.
211      *
212      * @param value
213      * allowed object is
214      * {@link AgencyVO }
215      *
216      */

217     public void setEndAgency(AgencyVO value) {
218         this.endAgency = value;
219     }
220
221 }
222
Popular Tags