KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > agency > services > reservation > jaxws > CreateReservation


1
2 package org.objectweb.rentacar.agency.services.reservation.jaxws;
3
4 import java.util.Date JavaDoc;
5 import javax.xml.bind.annotation.AccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlRootElement;
9 import javax.xml.bind.annotation.XmlType;
10 import org.objectweb.rentacar.agency.services.reservation.jaxws.CreateReservation;
11
12 @XmlRootElement(name = "createReservation", namespace = "http://reservation.services.agency.rentacar.objectweb.org/")
13 @XmlAccessorType(AccessType.FIELD)
14 @XmlType(name = "createReservation", namespace = "http://reservation.services.agency.rentacar.objectweb.org/", propOrder = {
15     "carId",
16     "startDate",
17     "endDate",
18     "customerId",
19     "startAgencyId",
20     "endAgencyId"
21 })
22 public class CreateReservation {
23
24     @XmlElement(name = "carId", namespace = "")
25     private String JavaDoc carId;
26     @XmlElement(name = "startDate", namespace = "")
27     private Date JavaDoc startDate;
28     @XmlElement(name = "endDate", namespace = "")
29     private Date JavaDoc endDate;
30     @XmlElement(name = "customerId", namespace = "")
31     private String JavaDoc customerId;
32     @XmlElement(name = "startAgencyId", namespace = "")
33     private String JavaDoc startAgencyId;
34     @XmlElement(name = "endAgencyId", namespace = "")
35     private String JavaDoc endAgencyId;
36
37     /**
38      *
39      * @return
40      * returns String
41      */

42     public String JavaDoc getCarId() {
43         return this.carId;
44     }
45
46     /**
47      *
48      * @param carId
49      * the value for the carId property
50      */

51     public void setCarId(String JavaDoc carId) {
52         this.carId = carId;
53     }
54
55     /**
56      *
57      * @return
58      * returns Date
59      */

60     public Date JavaDoc getStartDate() {
61         return this.startDate;
62     }
63
64     /**
65      *
66      * @param startDate
67      * the value for the startDate property
68      */

69     public void setStartDate(Date JavaDoc startDate) {
70         this.startDate = startDate;
71     }
72
73     /**
74      *
75      * @return
76      * returns Date
77      */

78     public Date JavaDoc getEndDate() {
79         return this.endDate;
80     }
81
82     /**
83      *
84      * @param endDate
85      * the value for the endDate property
86      */

87     public void setEndDate(Date JavaDoc endDate) {
88         this.endDate = endDate;
89     }
90
91     /**
92      *
93      * @return
94      * returns String
95      */

96     public String JavaDoc getCustomerId() {
97         return this.customerId;
98     }
99
100     /**
101      *
102      * @param customerId
103      * the value for the customerId property
104      */

105     public void setCustomerId(String JavaDoc customerId) {
106         this.customerId = customerId;
107     }
108
109     /**
110      *
111      * @return
112      * returns String
113      */

114     public String JavaDoc getStartAgencyId() {
115         return this.startAgencyId;
116     }
117
118     /**
119      *
120      * @param startAgencyId
121      * the value for the startAgencyId property
122      */

123     public void setStartAgencyId(String JavaDoc startAgencyId) {
124         this.startAgencyId = startAgencyId;
125     }
126
127     /**
128      *
129      * @return
130      * returns String
131      */

132     public String JavaDoc getEndAgencyId() {
133         return this.endAgencyId;
134     }
135
136     /**
137      *
138      * @param endAgencyId
139      * the value for the endAgencyId property
140      */

141     public void setEndAgencyId(String JavaDoc endAgencyId) {
142         this.endAgencyId = endAgencyId;
143     }
144
145 }
146
Popular Tags