View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello
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.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   * Class ProjectGroupSummary.
29   * 
30   * @version $Revision$ $Date$
31   */
32  @SuppressWarnings( "all" )
33  public class ProjectGroupSummary
34      implements java.io.Serializable
35  {
36  
37        //--------------------------/
38       //- Class/Member Variables -/
39      //--------------------------/
40  
41      /**
42       * Field id.
43       */
44      private int id = 0;
45  
46      /**
47       * Field groupId.
48       */
49      private String groupId;
50  
51      /**
52       * Field name.
53       */
54      private String name;
55  
56      /**
57       * Field description.
58       */
59      private String description;
60  
61      /**
62       * Field localRepository.
63       */
64      private LocalRepository localRepository;
65  
66  
67        //-----------/
68       //- Methods -/
69      //-----------/
70  
71      /**
72       * Method equals.
73       * 
74       * @param other
75       * @return boolean
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      } //-- boolean equals( Object )
96  
97      /**
98       * Get the description field.
99       * 
100      * @return String
101      */
102     public String getDescription()
103     {
104         return this.description;
105     } //-- String getDescription()
106 
107     /**
108      * Get the groupId field.
109      * 
110      * @return String
111      */
112     public String getGroupId()
113     {
114         return this.groupId;
115     } //-- String getGroupId()
116 
117     /**
118      * Get the id field.
119      * 
120      * @return int
121      */
122     public int getId()
123     {
124         return this.id;
125     } //-- int getId()
126 
127     /**
128      * Get the localRepository field.
129      * 
130      * @return LocalRepository
131      */
132     public LocalRepository getLocalRepository()
133     {
134         return this.localRepository;
135     } //-- LocalRepository getLocalRepository()
136 
137     /**
138      * Get the name field.
139      * 
140      * @return String
141      */
142     public String getName()
143     {
144         return this.name;
145     } //-- String getName()
146 
147     /**
148      * Method hashCode.
149      * 
150      * @return int
151      */
152     public int hashCode()
153     {
154         int result = 17;
155 
156         result = 37 * result + (int) id;
157 
158         return result;
159     } //-- int hashCode()
160 
161     /**
162      * Set the description field.
163      * 
164      * @param description
165      */
166     public void setDescription( String description )
167     {
168         this.description = description;
169     } //-- void setDescription( String )
170 
171     /**
172      * Set the groupId field.
173      * 
174      * @param groupId
175      */
176     public void setGroupId( String groupId )
177     {
178         this.groupId = groupId;
179     } //-- void setGroupId( String )
180 
181     /**
182      * Set the id field.
183      * 
184      * @param id
185      */
186     public void setId( int id )
187     {
188         this.id = id;
189     } //-- void setId( int )
190 
191     /**
192      * Set the localRepository field.
193      * 
194      * @param localRepository
195      */
196     public void setLocalRepository( LocalRepository localRepository )
197     {
198         this.localRepository = localRepository;
199     } //-- void setLocalRepository( LocalRepository )
200 
201     /**
202      * Set the name field.
203      * 
204      * @param name
205      */
206     public void setName( String name )
207     {
208         this.name = name;
209     } //-- void setName( String )
210 
211     /**
212      * Method toString.
213      * 
214      * @return String
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     } //-- java.lang.String toString()
226 
227 }