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 ; 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 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 .class) 54 protected int quantity; 55 protected XMLGregorianCalendar startDate; 56 protected XMLGregorianCalendar endDate; 57 protected ContactVO customer; 58 protected AgencyVO startAgency; 59 protected AgencyVO endAgency; 60 61 69 public CarCriteria getCriterion() { 70 return criterion; 71 } 72 73 81 public void setCriterion(CarCriteria value) { 82 this.criterion = value; 83 } 84 85 89 public int getQuantity() { 90 return quantity; 91 } 92 93 97 public void setQuantity(int value) { 98 this.quantity = value; 99 } 100 101 109 public XMLGregorianCalendar getStartDate() { 110 return startDate; 111 } 112 113 121 public void setStartDate(XMLGregorianCalendar value) { 122 this.startDate = value; 123 } 124 125 133 public XMLGregorianCalendar getEndDate() { 134 return endDate; 135 } 136 137 145 public void setEndDate(XMLGregorianCalendar value) { 146 this.endDate = value; 147 } 148 149 157 public ContactVO getCustomer() { 158 return customer; 159 } 160 161 169 public void setCustomer(ContactVO value) { 170 this.customer = value; 171 } 172 173 181 public AgencyVO getStartAgency() { 182 return startAgency; 183 } 184 185 193 public void setStartAgency(AgencyVO value) { 194 this.startAgency = value; 195 } 196 197 205 public AgencyVO getEndAgency() { 206 return endAgency; 207 } 208 209 217 public void setEndAgency(AgencyVO value) { 218 this.endAgency = value; 219 } 220 221 } 222 | Popular Tags |