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