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