Subversion Repositories XServices

Rev

Rev 74 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 74 Rev 82
1
/*
1
/*
2
 *   Copyright 2012 Brian Rosenberger (Brutex Network)
2
 *   Copyright 2012 Brian Rosenberger (Brutex Network)
3
 *
3
 *
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
5
 *   you may not use this file except in compliance with 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
6
 *   You may obtain a copy of the License at
7
 *
7
 *
8
 *       http://www.apache.org/licenses/LICENSE-2.0
8
 *       http://www.apache.org/licenses/LICENSE-2.0
9
 *
9
 *
10
 *   Unless required by applicable law or agreed to in writing, software
10
 *   Unless required by applicable law or agreed to in writing, software
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *   See the License for the specific language governing permissions and
13
 *   See the License for the specific language governing permissions and
14
 *   limitations under the License.
14
 *   limitations under the License.
15
 */
15
 */
16
 
16
 
17
package net.brutex.xservices.types;
17
package net.brutex.xservices.types;
18
 
18
 
19
import javax.xml.bind.annotation.XmlElement;
19
import javax.xml.bind.annotation.XmlElement;
20
import javax.xml.bind.annotation.XmlType;
20
import javax.xml.bind.annotation.XmlType;
-
 
21
 
-
 
22
import net.brutex.xservices.util.BrutexNamespaces;
21
 
23
 
22
 
24
 
23
/**
25
/**
24
 * Defines target nodes.
26
 * Defines target nodes.
25
 * 
27
 * 
26
 * @author Brian Rosenberger
28
 * @author Brian Rosenberger
27
 * @since 1.0
29
 * @since 1.0
28
 */
30
 */
29
@XmlType()
31
@XmlType(name=TargetNodeType.XML_NAME, namespace=BrutexNamespaces.WS_XSERVICES)
30
public class TargetNodeType {
32
public class TargetNodeType {
-
 
33
 
31
 
34
	public static final String XML_NAME = "targetnode";
32
	private String name="";
35
	private String name="";
33
 
36
 
34
 
37
 
35
	/**
38
	/**
36
	 * @return the name
39
	 * @return the name
37
	 */
40
	 */
38
	public String getName() {
41
	public String getName() {
39
		return name;
42
		return name;
40
	}
43
	}
41
 
44
 
42
	/**
45
	/**
43
	 * @param name the name to set
46
	 * @param name the name to set
44
	 */
47
	 */
45
	@XmlElement(required=true)
48
	@XmlElement(required=true)
46
	public void setName(String name) {
49
	public void setName(String name) {
47
		this.name = name;
50
		this.name = name;
48
	}
51
	}
-
 
52
	
-
 
53
	/**
-
 
54
	 * 
49
	
55
	 */
50
	public TargetNodeType() {
56
	public TargetNodeType() {
51
 
57
 
52
	}	
58
	}	
53
 
59
 
54
}
60
}