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.system;
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.project.AddingResult;
20  import org.apache.maven.continuum.xmlrpc.project.BuildDefinition;
21  import org.apache.maven.continuum.xmlrpc.project.BuildDefinitionTemplate;
22  import org.apache.maven.continuum.xmlrpc.project.BuildProjectTask;
23  import org.apache.maven.continuum.xmlrpc.project.BuildResult;
24  import org.apache.maven.continuum.xmlrpc.project.BuildResultSummary;
25  import org.apache.maven.continuum.xmlrpc.project.ContinuumProjectState;
26  import org.apache.maven.continuum.xmlrpc.project.Project;
27  import org.apache.maven.continuum.xmlrpc.project.ProjectDependency;
28  import org.apache.maven.continuum.xmlrpc.project.ProjectDeveloper;
29  import org.apache.maven.continuum.xmlrpc.project.ProjectGroup;
30  import org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary;
31  import org.apache.maven.continuum.xmlrpc.project.ProjectNotifier;
32  import org.apache.maven.continuum.xmlrpc.project.ProjectSummary;
33  import org.apache.maven.continuum.xmlrpc.project.Schedule;
34  import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
35  import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
36  import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
37  
38  /**
39   * Class Installation.
40   * 
41   * @version $Revision$ $Date$
42   */
43  @SuppressWarnings( "all" )
44  public class Installation
45      implements java.io.Serializable
46  {
47  
48        //--------------------------/
49       //- Class/Member Variables -/
50      //--------------------------/
51  
52      /**
53       * Field type.
54       */
55      private String type;
56  
57      /**
58       * Field varValue.
59       */
60      private String varValue;
61  
62      /**
63       * Field varName.
64       */
65      private String varName;
66  
67      /**
68       * Field name.
69       */
70      private String name;
71  
72      /**
73       * Field installationId.
74       */
75      private int installationId = 0;
76  
77  
78        //-----------/
79       //- Methods -/
80      //-----------/
81  
82      /**
83       * Method equals.
84       * 
85       * @param other
86       * @return boolean
87       */
88      public boolean equals( Object other )
89      {
90          if ( this == other )
91          {
92              return true;
93          }
94  
95          if ( !( other instanceof Installation ) )
96          {
97              return false;
98          }
99  
100         Installation that = (Installation) other;
101         boolean result = true;
102 
103         result = result && installationId == that.installationId;
104 
105         return result;
106     } //-- boolean equals( Object )
107 
108     /**
109      * Get the installationId field.
110      * 
111      * @return int
112      */
113     public int getInstallationId()
114     {
115         return this.installationId;
116     } //-- int getInstallationId()
117 
118     /**
119      * Get the name field.
120      * 
121      * @return String
122      */
123     public String getName()
124     {
125         return this.name;
126     } //-- String getName()
127 
128     /**
129      * Get the type field.
130      * 
131      * @return String
132      */
133     public String getType()
134     {
135         return this.type;
136     } //-- String getType()
137 
138     /**
139      * Get the varName field.
140      * 
141      * @return String
142      */
143     public String getVarName()
144     {
145         return this.varName;
146     } //-- String getVarName()
147 
148     /**
149      * Get the varValue field.
150      * 
151      * @return String
152      */
153     public String getVarValue()
154     {
155         return this.varValue;
156     } //-- String getVarValue()
157 
158     /**
159      * Method hashCode.
160      * 
161      * @return int
162      */
163     public int hashCode()
164     {
165         int result = 17;
166 
167         result = 37 * result + (int) installationId;
168 
169         return result;
170     } //-- int hashCode()
171 
172     /**
173      * Set the installationId field.
174      * 
175      * @param installationId
176      */
177     public void setInstallationId( int installationId )
178     {
179         this.installationId = installationId;
180     } //-- void setInstallationId( int )
181 
182     /**
183      * Set the name field.
184      * 
185      * @param name
186      */
187     public void setName( String name )
188     {
189         this.name = name;
190     } //-- void setName( String )
191 
192     /**
193      * Set the type field.
194      * 
195      * @param type
196      */
197     public void setType( String type )
198     {
199         this.type = type;
200     } //-- void setType( String )
201 
202     /**
203      * Set the varName field.
204      * 
205      * @param varName
206      */
207     public void setVarName( String varName )
208     {
209         this.varName = varName;
210     } //-- void setVarName( String )
211 
212     /**
213      * Set the varValue field.
214      * 
215      * @param varValue
216      */
217     public void setVarValue( String varValue )
218     {
219         this.varValue = varValue;
220     } //-- void setVarValue( String )
221 
222     /**
223      * Method toString.
224      * 
225      * @return String
226      */
227     public java.lang.String toString()
228     {
229         StringBuilder buf = new StringBuilder( 128 );
230 
231         buf.append( "installationId = '" );
232         buf.append( getInstallationId() );
233         buf.append( "'" );
234 
235         return buf.toString();
236     } //-- java.lang.String toString()
237 
238 }