1 2 package org.objectweb.rentacar.agency.services.reservation.jaxws; 3 4 import java.util.Date ; 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 startDate; 32 @XmlElement(name = "endDate", namespace = "") 33 private Date endDate; 34 @XmlElement(name = "partnerId", namespace = "") 35 private String partnerId; 36 @XmlElement(name = "startAgencyId", namespace = "") 37 private String startAgencyId; 38 @XmlElement(name = "endAgencyId", namespace = "") 39 private String endAgencyId; 40 41 46 public CarCriteria getCriterion() { 47 return this.criterion; 48 } 49 50 55 public void setCriterion(CarCriteria criterion) { 56 this.criterion = criterion; 57 } 58 59 64 public int getQuantity() { 65 return this.quantity; 66 } 67 68 73 public void setQuantity(int quantity) { 74 this.quantity = quantity; 75 } 76 77 82 public Date getStartDate() { 83 return this.startDate; 84 } 85 86 91 public void setStartDate(Date startDate) { 92 this.startDate = startDate; 93 } 94 95 100 public Date getEndDate() { 101 return this.endDate; 102 } 103 104 109 public void setEndDate(Date endDate) { 110 this.endDate = endDate; 111 } 112 113 118 public String getPartnerId() { 119 return this.partnerId; 120 } 121 122 127 public void setPartnerId(String partnerId) { 128 this.partnerId = partnerId; 129 } 130 131 136 public String getStartAgencyId() { 137 return this.startAgencyId; 138 } 139 140 145 public void setStartAgencyId(String startAgencyId) { 146 this.startAgencyId = startAgencyId; 147 } 148 149 154 public String getEndAgencyId() { 155 return this.endAgencyId; 156 } 157 158 163 public void setEndAgencyId(String endAgencyId) { 164 this.endAgencyId = endAgencyId; 165 } 166 167 } 168 | Popular Tags |