Subversion Repositories XServices

Rev

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
@XmlType(propOrder={"name", "status", "description", "path", "type", "revision"})
24
@XmlRootElement
25
public class ModuleType {
26
	String name;
27
	String revision;
28
	String status;
29
	String description;
30
	String path;
31
	String type;
32
 
33
	public ModuleType(String name, String status, String path, String type) {
34
		this.name = name;
35
		this.status = status;
36
		this.description = "";
37
		this.revision = "";
38
		this.path = "/" + path;
39
		this.type = type;
40
	}
41
 
42
	public ModuleType() {
43
		//JAXB
44
	}
45
	/**
46
	 * @return the name
47
	 */
48
	public String getName() {
49
		return name;
50
	}
51
	/**
52
	 * @param name the name to set
53
	 */
54
	public void setName(String name) {
55
		this.name = name;
56
	}
57
	/**
58
	 * @return the revision
59
	 */
60
	public String getRevision() {
61
		return revision;
62
	}
63
	/**
64
	 * @param revision the revision to set
65
	 */
66
	public void setRevision(String revision) {
67
		this.revision = revision;
68
	}
69
	/**
70
	 * @return the status
71
	 */
72
	public String getStatus() {
73
		return status;
74
	}
75
	/**
76
	 * @param status the status to set
77
	 */
78
	public void setStatus(String status) {
79
		this.status = status;
80
	}
81
	/**
82
	 * @return the description
83
	 */
84
	public String getDescription() {
85
		return description;
86
	}
87
	/**
88
	 * @param description the description to set
89
	 */
90
	public void setDescription(String description) {
91
		this.description = description;
92
	}
93
 
94
	/**
95
	 * @return the path
96
	 */
97
	public String getPath() {
98
		return path;
99
	}
100
 
101
	/**
102
	 * @param path the path to set
103
	 */
104
	public void setPath(String path) {
105
		this.path = path;
106
	}
107
 
108
	/**
109
	 * @return the type
110
	 */
111
	public String getType() {
112
		return type;
113
	}
114
 
115
	/**
116
	 * @param type the type to set
117
	 */
118
	public void setType(String type) {
119
		this.type = type;
120
	}
121
 
122
 
123
}