cz.active24.client.fred.data.common.contact.PostalInfoData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
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