Subversion Repositories XServices

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
74 brianR 1
/*
2
 *   Copyright 2012 Brian Rosenberger (Brutex Network)
3
 *
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
5
 *   you may not use this file except in compliance with the License.
6
 *   You may obtain a copy of the License at
7
 *
8
 *       http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *   Unless required by applicable law or agreed to in writing, software
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *   See the License for the specific language governing permissions and
14
 *   limitations under the License.
15
 */
16
 
17
package net.brutex.xservices.types;
18
 
19
import net.brutex.xservices.util.BrutexNamespaces;
20
 
21
import org.apache.cxf.aegis.type.java5.XmlType;
22
 
23
 
24
/**
25
 *
26
 * @author Brian Rosenberger, bru@brutex.de
27
 */
28
@XmlType(name=HostinfoType.XML_NAME, namespace=BrutexNamespaces.WS_XSERVICES)
29
public class HostinfoType {
30
 
31
	public final static String XML_NAME="hostinfo";
32
 
33
	/**
34
	 *
35
	 */
36
	public HostinfoType() {
37
    }
38
 
39
	/**
40
	 * @param name
41
	 * @param domain
42
	 * @param ip4
43
	 * @param ip6
44
	 */
45
	public HostinfoType(String name, String domain, String ip4, String ip6) {
46
		this.name = name;
47
		this.domain = domain;
48
		this.ip4 = ip4;
49
		this.ip6 = ip6;
50
	}
51
 
52
    private String name;
53
    private String domain;
54
    private String ip4;
55
    private String ip6;
56
 
57
 
58
	/**
59
	 * @return the name
60
	 */
61
	public String getName() {
62
		return name;
63
	}
64
	/**
65
	 * @param name the name to set
66
	 */
67
	public void setName(String name) {
68
		this.name = name;
69
	}
70
	/**
71
	 * @return the domain
72
	 */
73
	public String getDomain() {
74
		return domain;
75
	}
76
	/**
77
	 * @param domain the domain to set
78
	 */
79
	public void setDomain(String domain) {
80
		this.domain = domain;
81
	}
82
	/**
83
	 * @return the ip4
84
	 */
85
	public String getIp4() {
86
		return ip4;
87
	}
88
	/**
89
	 * @param ip4 the ip4 to set
90
	 */
91
	public void setIp4(String ip4) {
92
		this.ip4 = ip4;
93
	}
94
	/**
95
	 * @return the ip6
96
	 */
97
	public String getIp6() {
98
		return ip6;
99
	}
100
	/**
101
	 * @param ip6 the ip6 to set
102
	 */
103
	public void setIp6(String ip6) {
104
		this.ip6 = ip6;
105
	}
106
 
107
 
108
}