Subversion Repositories XServices

Rev

Rev 74 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 74 Rev 80
Line 29... Line 29...
29
public class HostinfoType {
29
public class HostinfoType {
Line 30... Line 30...
30
 
30
 
Line 31... Line 31...
31
	public final static String XML_NAME="hostinfo";
31
	public final static String XML_NAME="hostinfo";
32
    
32
    
33
	/**
33
	/**
34
	 * 
34
	 * Create a new HostinfoType. 
35
	 */
35
	 */
Line 36... Line 36...
36
	public HostinfoType() {
36
	public HostinfoType() {
-
 
37
    }
-
 
38
	
37
    }
39
	/**
38
	
40
	 * Create a new HostinfoType.
39
	/**
41
	 * 
40
	 * @param name
42
	 * @param name
41
	 * @param domain
43
	 * @param domain
Line 54... Line 56...
54
    private String ip4;
56
    private String ip4;
55
    private String ip6;
57
    private String ip6;
Line 56... Line 58...
56
    
58
    
-
 
59
    
-
 
60
	/**
57
    
61
	 * Get the host name.
58
	/**
62
	 * 
59
	 * @return the name
63
	 * @return the name
60
	 */
64
	 */
61
	public String getName() {
65
	public String getName() {
62
		return name;
66
		return name;
-
 
67
	}
-
 
68
	/**
63
	}
69
	 *  Set the host name.
64
	/**
70
	 *  
65
	 * @param name the name to set
71
	 * @param name the name to set
66
	 */
72
	 */
67
	public void setName(String name) {
73
	public void setName(String name) {
68
		this.name = name;
74
		this.name = name;
-
 
75
	}
-
 
76
	/**
69
	}
77
	 * Get the host domain.
70
	/**
78
	 * 
71
	 * @return the domain
79
	 * @return the domain
72
	 */
80
	 */
73
	public String getDomain() {
81
	public String getDomain() {
74
		return domain;
82
		return domain;
-
 
83
	}
-
 
84
	/**
75
	}
85
	 * Set the host domain.
76
	/**
86
	 * 
77
	 * @param domain the domain to set
87
	 * @param domain the domain to set
78
	 */
88
	 */
79
	public void setDomain(String domain) {
89
	public void setDomain(String domain) {
80
		this.domain = domain;
90
		this.domain = domain;
-
 
91
	}
81
	}
92
	/**
82
	/**
93
	 * Get the IP address version 4 representation for this host.
83
	 * @return the ip4
94
	 * @return the ip4
84
	 */
95
	 */
85
	public String getIp4() {
96
	public String getIp4() {
86
		return ip4;
97
		return ip4;
-
 
98
	}
87
	}
99
	/**
88
	/**
100
	 * Set the IP address version 4.
89
	 * @param ip4 the ip4 to set
101
	 * @param ip4 the ip4 to set
90
	 */
102
	 */
91
	public void setIp4(String ip4) {
103
	public void setIp4(String ip4) {
92
		this.ip4 = ip4;
104
		this.ip4 = ip4;
-
 
105
	}
93
	}
106
	/**
94
	/**
107
	 * Get the IP address version 6 representation for this host.
95
	 * @return the ip6
108
	 * @return the ip6
96
	 */
109
	 */
97
	public String getIp6() {
110
	public String getIp6() {
98
		return ip6;
111
		return ip6;
-
 
112
	}
99
	}
113
	/**
100
	/**
114
	 * Set the IP address version 6 representation for this host.
101
	 * @param ip6 the ip6 to set
115
	 * @param ip6 the ip6 to set
102
	 */
116
	 */
103
	public void setIp6(String ip6) {
117
	public void setIp6(String ip6) {
104
		this.ip6 = ip6;
-
 
105
	}
-
 
106
 
118
		this.ip6 = ip6;