1 2 package org.objectweb.rentacar.services.client; 3 4 import java.util.ArrayList ; 5 import java.util.List ; 6 import javax.xml.bind.annotation.AccessType; 7 import javax.xml.bind.annotation.XmlAccessorType; 8 import javax.xml.bind.annotation.XmlElement; 9 import javax.xml.bind.annotation.XmlType; 10 import org.objectweb.rentacar.services.client.AgencyVO; 11 import org.objectweb.rentacar.services.client.CarVO; 12 import org.objectweb.rentacar.services.client.ContactVO; 13 14 15 39 @XmlAccessorType(AccessType.FIELD) 40 @XmlType(name = "agencyVO", propOrder = { 41 "agencyId", 42 "cars", 43 "contact", 44 "host", 45 "port", 46 "warName" 47 }) 48 public class AgencyVO { 49 50 protected String agencyId; 51 @XmlElement(nillable = true) 52 protected List <CarVO> cars; 53 protected ContactVO contact; 54 protected String host; 55 protected String port; 56 protected String warName; 57 58 66 public String getAgencyId() { 67 return agencyId; 68 } 69 70 78 public void setAgencyId(String value) { 79 this.agencyId = value; 80 } 81 82 104 public List <CarVO> getCars() { 105 if (cars == null) { 106 cars = new ArrayList <CarVO>(); 107 } 108 return this.cars; 109 } 110 111 119 public ContactVO getContact() { 120 return contact; 121 } 122 123 131 public void setContact(ContactVO value) { 132 this.contact = value; 133 } 134 135 143 public String getHost() { 144 return host; 145 } 146 147 155 public void setHost(String value) { 156 this.host = value; 157 } 158 159 167 public String getPort() { 168 return port; 169 } 170 171 179 public void setPort(String value) { 180 this.port = value; 181 } 182 183 191 public String getWarName() { 192 return warName; 193 } 194 195 203 public void setWarName(String value) { 204 this.warName = value; 205 } 206 207 } 208 | Popular Tags |