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