Subversion Repositories XServices

Rev

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

Rev Author Line No. Line
94 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.scm;
18
 
19
import javax.xml.bind.annotation.XmlRootElement;
20
import javax.xml.bind.annotation.XmlType;
21
 
22
/**
23
 * @author Brian Rosenberger, bru(at)brutex.de
24
 * @since 0.5.0-20120817
25
 *
26
 */
27
@XmlType(name="TagType", propOrder={"name", "comment"})
28
@XmlRootElement
29
public class Tag {
30
 
31
	private String name;
32
	private String comment;
33
 
34
	public Tag() {
35
	}
36
	/**
37
	 * @param name
38
	 * @param comment
39
	 */
40
	public Tag(String name, String comment) {
41
		super();
42
		this.name = name;
43
		this.comment = comment;
44
	}
45
 
46
	/**
47
	 * @param name the name to set
48
	 */
49
	public void setName(String name) {
50
		this.name = name;
51
	}
52
 
53
	/**
54
	 * @param comment the comment to set
55
	 */
56
	public void setComment(String comment) {
57
		this.comment = comment;
58
	}
59
 
60
	/* (non-Javadoc)
61
	 * @see net.brutex.xservices.types.scm.SCTag#getName()
62
	 */
63
	public String getName() {
64
		return name;
65
	}
66
 
67
	/* (non-Javadoc)
68
	 * @see net.brutex.xservices.types.scm.SCTag#getComment()
69
	 */
70
 
71
	public String getComment() {
72
		return comment;
73
	}
74
 
75
}