View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 11:22:14,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.xmlrpc.project;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
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   * Class ProjectSummary.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class ProjectSummary
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * Field id.
42       */
43      private int id = 0;
44  
45      /**
46       * Field groupId.
47       */
48      private String groupId;
49  
50      /**
51       * Field artifactId.
52       */
53      private String artifactId;
54  
55      /**
56       * Field executorId.
57       */
58      private String executorId;
59  
60      /**
61       * Field name.
62       */
63      private String name;
64  
65      /**
66       * Field description.
67       */
68      private String description;
69  
70      /**
71       * Field url.
72       */
73      private String url;
74  
75      /**
76       * Field scmUrl.
77       */
78      private String scmUrl;
79  
80      /**
81       * Field scmTag.
82       */
83      private String scmTag;
84  
85      /**
86       * Field scmUsername.
87       */
88      private String scmUsername;
89  
90      /**
91       * Field scmPassword.
92       */
93      private String scmPassword;
94  
95      /**
96       * Field scmUseCache.
97       */
98      private boolean scmUseCache = false;
99  
100     /**
101      * Field version.
102      */
103     private String version;
104 
105     /**
106      * Field state.
107      */
108     private int state = 1;
109 
110     /**
111      * Field oldState.
112      */
113     private int oldState = 0;
114 
115     /**
116      * Field latestBuildId.
117      */
118     private int latestBuildId = 0;
119 
120     /**
121      * Field buildNumber.
122      */
123     private int buildNumber = 0;
124 
125     /**
126      * Field workingDirectory.
127      */
128     private String workingDirectory;
129 
130     /**
131      * Field relativePath.
132      */
133     private String relativePath;
134 
135     /**
136      * Field projectGroup.
137      */
138     private ProjectGroupSummary projectGroup;
139 
140 
141       //-----------/
142      //- Methods -/
143     //-----------/
144 
145     /**
146      * Method equals.
147      * 
148      * @param other
149      * @return boolean
150      */
151     public boolean equals( Object other )
152     {
153         if ( this == other )
154         {
155             return true;
156         }
157 
158         if ( !( other instanceof ProjectSummary ) )
159         {
160             return false;
161         }
162 
163         ProjectSummary that = (ProjectSummary) other;
164         boolean result = true;
165 
166         result = result && id == that.id;
167 
168         return result;
169     } //-- boolean equals( Object )
170 
171     /**
172      * Get the artifactId field.
173      * 
174      * @return String
175      */
176     public String getArtifactId()
177     {
178         return this.artifactId;
179     } //-- String getArtifactId()
180 
181     /**
182      * Get the buildNumber field.
183      * 
184      * @return int
185      */
186     public int getBuildNumber()
187     {
188         return this.buildNumber;
189     } //-- int getBuildNumber()
190 
191     /**
192      * Get the description field.
193      * 
194      * @return String
195      */
196     public String getDescription()
197     {
198         return this.description;
199     } //-- String getDescription()
200 
201     /**
202      * Get the executorId field.
203      * 
204      * @return String
205      */
206     public String getExecutorId()
207     {
208         return this.executorId;
209     } //-- String getExecutorId()
210 
211     /**
212      * Get the groupId field.
213      * 
214      * @return String
215      */
216     public String getGroupId()
217     {
218         return this.groupId;
219     } //-- String getGroupId()
220 
221     /**
222      * Get the id field.
223      * 
224      * @return int
225      */
226     public int getId()
227     {
228         return this.id;
229     } //-- int getId()
230 
231     /**
232      * Get the latestBuildId field.
233      * 
234      * @return int
235      */
236     public int getLatestBuildId()
237     {
238         return this.latestBuildId;
239     } //-- int getLatestBuildId()
240 
241     /**
242      * Get the name field.
243      * 
244      * @return String
245      */
246     public String getName()
247     {
248         return this.name;
249     } //-- String getName()
250 
251     /**
252      * Get the oldState field.
253      * 
254      * @return int
255      */
256     public int getOldState()
257     {
258         return this.oldState;
259     } //-- int getOldState()
260 
261     /**
262      * Get the projectGroup field.
263      * 
264      * @return ProjectGroupSummary
265      */
266     public ProjectGroupSummary getProjectGroup()
267     {
268         return this.projectGroup;
269     } //-- ProjectGroupSummary getProjectGroup()
270 
271     /**
272      * Get the relativePath field.
273      * 
274      * @return String
275      */
276     public String getRelativePath()
277     {
278         return this.relativePath;
279     } //-- String getRelativePath()
280 
281     /**
282      * Get the scmPassword field.
283      * 
284      * @return String
285      */
286     public String getScmPassword()
287     {
288         return this.scmPassword;
289     } //-- String getScmPassword()
290 
291     /**
292      * Get the scmTag field.
293      * 
294      * @return String
295      */
296     public String getScmTag()
297     {
298         return this.scmTag;
299     } //-- String getScmTag()
300 
301     /**
302      * Get the scmUrl field.
303      * 
304      * @return String
305      */
306     public String getScmUrl()
307     {
308         return this.scmUrl;
309     } //-- String getScmUrl()
310 
311     /**
312      * Get the scmUsername field.
313      * 
314      * @return String
315      */
316     public String getScmUsername()
317     {
318         return this.scmUsername;
319     } //-- String getScmUsername()
320 
321     /**
322      * Get the state field.
323      * 
324      * @return int
325      */
326     public int getState()
327     {
328         return this.state;
329     } //-- int getState()
330 
331     /**
332      * Get the url field.
333      * 
334      * @return String
335      */
336     public String getUrl()
337     {
338         return this.url;
339     } //-- String getUrl()
340 
341     /**
342      * Get the version field.
343      * 
344      * @return String
345      */
346     public String getVersion()
347     {
348         return this.version;
349     } //-- String getVersion()
350 
351     /**
352      * Get the workingDirectory field.
353      * 
354      * @return String
355      */
356     public String getWorkingDirectory()
357     {
358         return this.workingDirectory;
359     } //-- String getWorkingDirectory()
360 
361     /**
362      * Method hashCode.
363      * 
364      * @return int
365      */
366     public int hashCode()
367     {
368         int result = 17;
369 
370         result = 37 * result + (int) id;
371 
372         return result;
373     } //-- int hashCode()
374 
375     /**
376      * Get the scmUseCache field.
377      * 
378      * @return boolean
379      */
380     public boolean isScmUseCache()
381     {
382         return this.scmUseCache;
383     } //-- boolean isScmUseCache()
384 
385     /**
386      * Set the artifactId field.
387      * 
388      * @param artifactId
389      */
390     public void setArtifactId( String artifactId )
391     {
392         this.artifactId = artifactId;
393     } //-- void setArtifactId( String )
394 
395     /**
396      * Set the buildNumber field.
397      * 
398      * @param buildNumber
399      */
400     public void setBuildNumber( int buildNumber )
401     {
402         this.buildNumber = buildNumber;
403     } //-- void setBuildNumber( int )
404 
405     /**
406      * Set the description field.
407      * 
408      * @param description
409      */
410     public void setDescription( String description )
411     {
412         this.description = description;
413     } //-- void setDescription( String )
414 
415     /**
416      * Set the executorId field.
417      * 
418      * @param executorId
419      */
420     public void setExecutorId( String executorId )
421     {
422         this.executorId = executorId;
423     } //-- void setExecutorId( String )
424 
425     /**
426      * Set the groupId field.
427      * 
428      * @param groupId
429      */
430     public void setGroupId( String groupId )
431     {
432         this.groupId = groupId;
433     } //-- void setGroupId( String )
434 
435     /**
436      * Set the id field.
437      * 
438      * @param id
439      */
440     public void setId( int id )
441     {
442         this.id = id;
443     } //-- void setId( int )
444 
445     /**
446      * Set the latestBuildId field.
447      * 
448      * @param latestBuildId
449      */
450     public void setLatestBuildId( int latestBuildId )
451     {
452         this.latestBuildId = latestBuildId;
453     } //-- void setLatestBuildId( int )
454 
455     /**
456      * Set the name field.
457      * 
458      * @param name
459      */
460     public void setName( String name )
461     {
462         this.name = name;
463     } //-- void setName( String )
464 
465     /**
466      * Set the oldState field.
467      * 
468      * @param oldState
469      */
470     public void setOldState( int oldState )
471     {
472         this.oldState = oldState;
473     } //-- void setOldState( int )
474 
475     /**
476      * Set the projectGroup field.
477      * 
478      * @param projectGroup
479      */
480     public void setProjectGroup( ProjectGroupSummary projectGroup )
481     {
482         this.projectGroup = projectGroup;
483     } //-- void setProjectGroup( ProjectGroupSummary )
484 
485     /**
486      * Set the relativePath field.
487      * 
488      * @param relativePath
489      */
490     public void setRelativePath( String relativePath )
491     {
492         this.relativePath = relativePath;
493     } //-- void setRelativePath( String )
494 
495     /**
496      * Set the scmPassword field.
497      * 
498      * @param scmPassword
499      */
500     public void setScmPassword( String scmPassword )
501     {
502         this.scmPassword = scmPassword;
503     } //-- void setScmPassword( String )
504 
505     /**
506      * Set the scmTag field.
507      * 
508      * @param scmTag
509      */
510     public void setScmTag( String scmTag )
511     {
512         this.scmTag = scmTag;
513     } //-- void setScmTag( String )
514 
515     /**
516      * Set the scmUrl field.
517      * 
518      * @param scmUrl
519      */
520     public void setScmUrl( String scmUrl )
521     {
522         this.scmUrl = scmUrl;
523     } //-- void setScmUrl( String )
524 
525     /**
526      * Set the scmUseCache field.
527      * 
528      * @param scmUseCache
529      */
530     public void setScmUseCache( boolean scmUseCache )
531     {
532         this.scmUseCache = scmUseCache;
533     } //-- void setScmUseCache( boolean )
534 
535     /**
536      * Set the scmUsername field.
537      * 
538      * @param scmUsername
539      */
540     public void setScmUsername( String scmUsername )
541     {
542         this.scmUsername = scmUsername;
543     } //-- void setScmUsername( String )
544 
545     /**
546      * Set the state field.
547      * 
548      * @param state
549      */
550     public void setState( int state )
551     {
552         this.state = state;
553     } //-- void setState( int )
554 
555     /**
556      * Set the url field.
557      * 
558      * @param url
559      */
560     public void setUrl( String url )
561     {
562         this.url = url;
563     } //-- void setUrl( String )
564 
565     /**
566      * Set the version field.
567      * 
568      * @param version
569      */
570     public void setVersion( String version )
571     {
572         this.version = version;
573     } //-- void setVersion( String )
574 
575     /**
576      * Set the workingDirectory field.
577      * 
578      * @param workingDirectory
579      */
580     public void setWorkingDirectory( String workingDirectory )
581     {
582         this.workingDirectory = workingDirectory;
583     } //-- void setWorkingDirectory( String )
584 
585     /**
586      * Method toString.
587      * 
588      * @return String
589      */
590     public java.lang.String toString()
591     {
592         StringBuilder buf = new StringBuilder( 128 );
593 
594         buf.append( "id = '" );
595         buf.append( getId() );
596         buf.append( "'" );
597 
598         return buf.toString();
599     } //-- java.lang.String toString()
600 
601 }