KickJava   Java API By Example, From Geeks To Geeks.

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


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.CreateReservationPartner;
11 import org.objectweb.rentacar.persistance.bo.CarCriteria;
12
13 @XmlRootElement(name = "createReservationPartner", namespace = "http://reservation.services.agency.rentacar.objectweb.org/")
14 @XmlAccessorType(AccessType.FIELD)
15 @XmlType(name = "createReservationPartner", namespace = "http://reservation.services.agency.rentacar.objectweb.org/", propOrder = {
16     "criterion",
17     "quantity",
18     "startDate",
19     "endDate",
20     "partnerId",
21     "startAgencyId",
22     "endAgencyId"
23 })
24 public class CreateReservationPartner {
25
26     @XmlElement(name = "criterion", namespace = "")
27     private CarCriteria criterion;
28     @XmlElement(name = "quantity", namespace = "")
29     private int quantity;
30     @XmlElement(name = "startDate", namespace = "")
31     private Date JavaDoc startDate;
32     @XmlElement(name = "endDate", namespace = "")
33     private Date JavaDoc endDate;
34     @XmlElement(name = "partnerId", namespace = "")
35     private String JavaDoc partnerId;
36     @XmlElement(name = "startAgencyId", namespace = "")
37     private String JavaDoc startAgencyId;
38     @XmlElement(name = "endAgencyId", namespace = "")
39     private String JavaDoc endAgencyId;
40
41     /**
42      *
43      * @return
44      * returns CarCriteria
45      */

46     public CarCriteria getCriterion() {
47         return this.criterion;
48     }
49
50     /**
51      *
52      * @param criterion
53      * the value for the criterion property
54      */

55     public void setCriterion(CarCriteria criterion) {
56         this.criterion = criterion;
57     }
58
59     /**
60      *
61      * @return
62      * returns int
63      */

64     public int getQuantity() {
65         return this.quantity;
66     }
67
68     /**
69      *
70      * @param quantity
71      * the value for the quantity property
72      */

73     public void setQuantity(int quantity) {
74         this.quantity = quantity;
75     }
76
77     /**
78      *
79      * @return
80      * returns Date
81      */

82     public Date JavaDoc getStartDate() {
83         return this.startDate;
84     }
85
86     /**
87      *
88      * @param startDate
89      * the value for the startDate property
90      */

91     public void setStartDate(Date JavaDoc startDate) {
92         this.startDate = startDate;
93     }
94
95     /**
96      *
97      * @return
98      * returns Date
99      */

100     public Date JavaDoc getEndDate() {
101         return this.endDate;
102     }
103
104     /**
105      *
106      * @param endDate
107      * the value for the endDate property
108      */

109     public void setEndDate(Date JavaDoc endDate) {
110         this.endDate = endDate;
111     }
112
113     /**
114      *
115      * @return
116      * returns String
117      */

118     public String JavaDoc getPartnerId() {
119         return this.partnerId;
120     }
121
122     /**
123      *
124      * @param partnerId
125      * the value for the partnerId property
126      */

127     public void setPartnerId(String JavaDoc partnerId) {
128         this.partnerId = partnerId;
129     }
130
131     /**
132      *
133      * @return
134      * returns String
135      */

136     public String JavaDoc getStartAgencyId() {
137         return this.startAgencyId;
138     }
139
140     /**
141      *
142      * @param startAgencyId
143      * the value for the startAgencyId property
144      */

145     public void setStartAgencyId(String JavaDoc startAgencyId) {
146         this.startAgencyId = startAgencyId;
147     }
148
149     /**
150      *
151      * @return
152      * returns String
153      */

154     public String JavaDoc getEndAgencyId() {
155         return this.endAgencyId;
156     }
157
158     /**
159      *
160      * @param endAgencyId
161      * the value for the endAgencyId property
162      */

163     public void setEndAgencyId(String JavaDoc endAgencyId) {
164         this.endAgencyId = endAgencyId;
165     }
166
167 }
168
Popular Tags