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

cz.active24.client.fred.data.common.nsset.NameserverData Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
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