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

cz.active24.client.fred.data.common.contact.PostalInfoData 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;

/**
 * Data about contact postal information.
 *
 * 
    *
  • {@link PostalInfoData#name} – the person name
  • *
  • {@link PostalInfoData#org} – the organization name
  • *
  • {@link PostalInfoData#addr} – see {@link AddressData}
  • *
* * @see FRED documentation */ public class PostalInfoData implements Serializable { private String name; private String org; private AddressData addr; public PostalInfoData() { } public PostalInfoData(String name, AddressData addressData) { this.setName(name); this.setAddr(addressData); } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getOrg() { return org; } public void setOrg(String org) { this.org = org; } public AddressData getAddr() { return addr; } public void setAddr(AddressData addr) { this.addr = addr; } @Override public String toString() { final StringBuffer sb = new StringBuffer("PostalInfoData{"); sb.append("name='").append(name).append('\''); sb.append(", org='").append(org).append('\''); sb.append(", addr=").append(addr); sb.append('}'); return sb.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy