cz.active24.client.fred.data.common.nsset.NameserverData 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.nsset;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Nameserver data detail.
*
*
* - {@link NameserverData#name} - a nameserver hostname
* - {@link NameserverData#addr} - a namesever’s IP address(es)
*
*
* @see FRED documentation
*/
public class NameserverData implements Serializable {
private String name;
private List addr;
protected NameserverData() {
}
public NameserverData(String name) {
this.setName(name);
this.addr = new ArrayList();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getAddr() {
return addr;
}
public void setAddr(List addr) {
this.addr = addr;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("NameserverData{");
sb.append("name='").append(name).append('\'');
sb.append(", addr=").append(addr);
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy