1 package org.exoplatform.services.xml.querying.impl.xtas; 2 3 public class Address 4 { 5 private String street1; 6 private String street2; 7 private String city; 8 private String country; 9 private String zip; 10 11 public Address() 12 { 13 } 14 15 20 public String getStreet1() { 21 return street1;} 22 23 29 public void setStreet1(String aStreet1) { 30 street1 = aStreet1;} 31 32 37 public String getStreet2() { 38 return street2;} 39 40 46 public void setStreet2(String aStreet2) { 47 street2 = aStreet2;} 48 49 54 public String getCity() { 55 return city;} 56 57 63 public void setCity(String aCity) { 64 city = aCity;} 65 66 71 public String getCountry() { 72 return country;} 73 74 80 public void setCountry(String aCountry) { 81 country = aCountry;} 82 83 public String getZip() { 84 return zip;} 85 86 public void setZip(String aZip) { 87 zip = aZip;} 88 89 90 public String toString() 91 { 92 return street1+" "+street2+","+city+","+country+","+zip; 93 } 94 95 } 96 | Popular Tags |