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