31,14 → 31,12 |
public final static String XML_NAME="hostinfo"; |
|
/** |
* Create a new HostinfoType. |
* |
*/ |
public HostinfoType() { |
} |
|
/** |
* Create a new HostinfoType. |
* |
* @param name |
* @param domain |
* @param ip4 |
58,8 → 56,6 |
|
|
/** |
* Get the host name. |
* |
* @return the name |
*/ |
public String getName() { |
66,8 → 62,6 |
return name; |
} |
/** |
* Set the host name. |
* |
* @param name the name to set |
*/ |
public void setName(String name) { |
74,8 → 68,6 |
this.name = name; |
} |
/** |
* Get the host domain. |
* |
* @return the domain |
*/ |
public String getDomain() { |
82,8 → 74,6 |
return domain; |
} |
/** |
* Set the host domain. |
* |
* @param domain the domain to set |
*/ |
public void setDomain(String domain) { |
90,7 → 80,6 |
this.domain = domain; |
} |
/** |
* Get the IP address version 4 representation for this host. |
* @return the ip4 |
*/ |
public String getIp4() { |
97,7 → 86,6 |
return ip4; |
} |
/** |
* Set the IP address version 4. |
* @param ip4 the ip4 to set |
*/ |
public void setIp4(String ip4) { |
104,7 → 92,6 |
this.ip4 = ip4; |
} |
/** |
* Get the IP address version 6 representation for this host. |
* @return the ip6 |
*/ |
public String getIp6() { |
111,10 → 98,11 |
return ip6; |
} |
/** |
* Set the IP address version 6 representation for this host. |
* @param ip6 the ip6 to set |
*/ |
public void setIp6(String ip6) { |
this.ip6 = ip6; |
} |
|
|
} |