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