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.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 carId; 26 @XmlElement(name = "startDate", namespace = "") 27 private Date startDate; 28 @XmlElement(name = "endDate", namespace = "") 29 private Date endDate; 30 @XmlElement(name = "customerId", namespace = "") 31 private String customerId; 32 @XmlElement(name = "startAgencyId", namespace = "") 33 private String startAgencyId; 34 @XmlElement(name = "endAgencyId", namespace = "") 35 private String endAgencyId; 36 37 42 public String getCarId() { 43 return this.carId; 44 } 45 46 51 public void setCarId(String carId) { 52 this.carId = carId; 53 } 54 55 60 public Date getStartDate() { 61 return this.startDate; 62 } 63 64 69 public void setStartDate(Date startDate) { 70 this.startDate = startDate; 71 } 72 73 78 public Date getEndDate() { 79 return this.endDate; 80 } 81 82 87 public void setEndDate(Date endDate) { 88 this.endDate = endDate; 89 } 90 91 96 public String getCustomerId() { 97 return this.customerId; 98 } 99 100 105 public void setCustomerId(String customerId) { 106 this.customerId = customerId; 107 } 108 109 114 public String getStartAgencyId() { 115 return this.startAgencyId; 116 } 117 118 123 public void setStartAgencyId(String startAgencyId) { 124 this.startAgencyId = startAgencyId; 125 } 126 127 132 public String getEndAgencyId() { 133 return this.endAgencyId; 134 } 135 136 141 public void setEndAgencyId(String endAgencyId) { 142 this.endAgencyId = endAgencyId; 143 } 144 145 } 146 | Popular Tags |