1
2
3
4
5
6
7
8 package org.apache.maven.continuum.xmlrpc.project;
9
10
11
12
13
14 import org.apache.continuum.xmlrpc.release.ContinuumReleaseResult;
15 import org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration;
16 import org.apache.continuum.xmlrpc.repository.DirectoryPurgeConfiguration;
17 import org.apache.continuum.xmlrpc.repository.LocalRepository;
18 import org.apache.continuum.xmlrpc.repository.RepositoryPurgeConfiguration;
19 import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
20 import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
21 import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
22 import org.apache.maven.continuum.xmlrpc.system.Installation;
23 import org.apache.maven.continuum.xmlrpc.system.Profile;
24 import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;
25
26
27
28
29
30
31 @SuppressWarnings( "all" )
32 public class ProjectGroupSummary
33 implements java.io.Serializable
34 {
35
36
37
38
39
40
41
42
43 private int id = 0;
44
45
46
47
48 private String groupId;
49
50
51
52
53 private String name;
54
55
56
57
58 private String description;
59
60
61
62
63 private LocalRepository localRepository;
64
65
66
67
68
69
70
71
72
73
74
75
76 public boolean equals( Object other )
77 {
78 if ( this == other )
79 {
80 return true;
81 }
82
83 if ( !( other instanceof ProjectGroupSummary ) )
84 {
85 return false;
86 }
87
88 ProjectGroupSummary that = (ProjectGroupSummary) other;
89 boolean result = true;
90
91 result = result && id == that.id;
92
93 return result;
94 }
95
96
97
98
99
100
101 public String getDescription()
102 {
103 return this.description;
104 }
105
106
107
108
109
110
111 public String getGroupId()
112 {
113 return this.groupId;
114 }
115
116
117
118
119
120
121 public int getId()
122 {
123 return this.id;
124 }
125
126
127
128
129
130
131 public LocalRepository getLocalRepository()
132 {
133 return this.localRepository;
134 }
135
136
137
138
139
140
141 public String getName()
142 {
143 return this.name;
144 }
145
146
147
148
149
150
151 public int hashCode()
152 {
153 int result = 17;
154
155 result = 37 * result + (int) id;
156
157 return result;
158 }
159
160
161
162
163
164
165 public void setDescription( String description )
166 {
167 this.description = description;
168 }
169
170
171
172
173
174
175 public void setGroupId( String groupId )
176 {
177 this.groupId = groupId;
178 }
179
180
181
182
183
184
185 public void setId( int id )
186 {
187 this.id = id;
188 }
189
190
191
192
193
194
195 public void setLocalRepository( LocalRepository localRepository )
196 {
197 this.localRepository = localRepository;
198 }
199
200
201
202
203
204
205 public void setName( String name )
206 {
207 this.name = name;
208 }
209
210
211
212
213
214
215 public java.lang.String toString()
216 {
217 StringBuilder buf = new StringBuilder( 128 );
218
219 buf.append( "id = '" );
220 buf.append( getId() );
221 buf.append( "'" );
222
223 return buf.toString();
224 }
225
226 }