All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.active24.client.fred.data.common.contact.AddressData Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
package cz.active24.client.fred.data.common.contact;

import java.io.Serializable;
import java.util.List;

/**
 * Data about contact address information.
 *
 * 
    *
  • {@link AddressData#street} – the street line(s)
  • *
  • {@link AddressData#city} – the city
  • *
  • {@link AddressData#sp} – the state or province
  • *
  • {@link AddressData#pc} – the postal code
  • *
  • {@link AddressData#cc} – the country code
  • *
* * @see FRED documentation */ public class AddressData implements Serializable { private List street; private String city; private String sp; private String pc; private String cc; protected AddressData(){} public AddressData(String city, String pc, String cc, List street) { this.setCc(cc); this.setCity(city); this.setPc(pc); this.setStreet(street); } public List getStreet() { return street; } public void setStreet(List street) { this.street = street; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getSp() { return sp; } public void setSp(String sp) { this.sp = sp; } public String getPc() { return pc; } public void setPc(String pc) { this.pc = pc; } public String getCc() { return cc; } public void setCc(String cc) { this.cc = cc; } @Override public String toString() { final StringBuffer sb = new StringBuffer("AddressData{"); sb.append("street=").append(street); sb.append(", city='").append(city).append('\''); sb.append(", sp='").append(sp).append('\''); sb.append(", pc='").append(pc).append('\''); sb.append(", cc='").append(cc).append('\''); sb.append('}'); return sb.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy