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 Project.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class Project
33      extends ProjectSummary
34      implements java.io.Serializable
35  {
36  
37        //--------------------------/
38       //- Class/Member Variables -/
39      //--------------------------/
40  
41      /**
42       * Field parent.
43       */
44      private ProjectDependency parent;
45  
46      /**
47       * Field developers.
48       */
49      private java.util.List<ProjectDeveloper> developers;
50  
51      /**
52       * Field dependencies.
53       */
54      private java.util.List<ProjectDependency> dependencies;
55  
56      /**
57       * Field notifiers.
58       */
59      private java.util.List<ProjectNotifier> notifiers;
60  
61      /**
62       * Field buildDefinitions.
63       */
64      private java.util.List<BuildDefinition> buildDefinitions;
65  
66  
67        //-----------/
68       //- Methods -/
69      //-----------/
70  
71      /**
72       * Method addBuildDefinition.
73       * 
74       * @param buildDefinition
75       */
76      public void addBuildDefinition( BuildDefinition buildDefinition )
77      {
78          getBuildDefinitions().add( buildDefinition );
79      } //-- void addBuildDefinition( BuildDefinition )
80  
81      /**
82       * Method addDependency.
83       * 
84       * @param projectDependency
85       */
86      public void addDependency( ProjectDependency projectDependency )
87      {
88          getDependencies().add( projectDependency );
89      } //-- void addDependency( ProjectDependency )
90  
91      /**
92       * Method addDeveloper.
93       * 
94       * @param projectDeveloper
95       */
96      public void addDeveloper( ProjectDeveloper projectDeveloper )
97      {
98          getDevelopers().add( projectDeveloper );
99      } //-- void addDeveloper( ProjectDeveloper )
100 
101     /**
102      * Method addNotifier.
103      * 
104      * @param projectNotifier
105      */
106     public void addNotifier( ProjectNotifier projectNotifier )
107     {
108         getNotifiers().add( projectNotifier );
109     } //-- void addNotifier( ProjectNotifier )
110 
111     /**
112      * Method getBuildDefinitions.
113      * 
114      * @return List
115      */
116     public java.util.List<BuildDefinition> getBuildDefinitions()
117     {
118         if ( this.buildDefinitions == null )
119         {
120             this.buildDefinitions = new java.util.ArrayList<BuildDefinition>();
121         }
122 
123         return this.buildDefinitions;
124     } //-- java.util.List<BuildDefinition> getBuildDefinitions()
125 
126     /**
127      * Method getDependencies.
128      * 
129      * @return List
130      */
131     public java.util.List<ProjectDependency> getDependencies()
132     {
133         if ( this.dependencies == null )
134         {
135             this.dependencies = new java.util.ArrayList<ProjectDependency>();
136         }
137 
138         return this.dependencies;
139     } //-- java.util.List<ProjectDependency> getDependencies()
140 
141     /**
142      * Method getDevelopers.
143      * 
144      * @return List
145      */
146     public java.util.List<ProjectDeveloper> getDevelopers()
147     {
148         if ( this.developers == null )
149         {
150             this.developers = new java.util.ArrayList<ProjectDeveloper>();
151         }
152 
153         return this.developers;
154     } //-- java.util.List<ProjectDeveloper> getDevelopers()
155 
156     /**
157      * Method getNotifiers.
158      * 
159      * @return List
160      */
161     public java.util.List<ProjectNotifier> getNotifiers()
162     {
163         if ( this.notifiers == null )
164         {
165             this.notifiers = new java.util.ArrayList<ProjectNotifier>();
166         }
167 
168         return this.notifiers;
169     } //-- java.util.List<ProjectNotifier> getNotifiers()
170 
171     /**
172      * Get the parent field.
173      * 
174      * @return ProjectDependency
175      */
176     public ProjectDependency getParent()
177     {
178         return this.parent;
179     } //-- ProjectDependency getParent()
180 
181     /**
182      * Method removeBuildDefinition.
183      * 
184      * @param buildDefinition
185      */
186     public void removeBuildDefinition( BuildDefinition buildDefinition )
187     {
188         getBuildDefinitions().remove( buildDefinition );
189     } //-- void removeBuildDefinition( BuildDefinition )
190 
191     /**
192      * Method removeDependency.
193      * 
194      * @param projectDependency
195      */
196     public void removeDependency( ProjectDependency projectDependency )
197     {
198         getDependencies().remove( projectDependency );
199     } //-- void removeDependency( ProjectDependency )
200 
201     /**
202      * Method removeDeveloper.
203      * 
204      * @param projectDeveloper
205      */
206     public void removeDeveloper( ProjectDeveloper projectDeveloper )
207     {
208         getDevelopers().remove( projectDeveloper );
209     } //-- void removeDeveloper( ProjectDeveloper )
210 
211     /**
212      * Method removeNotifier.
213      * 
214      * @param projectNotifier
215      */
216     public void removeNotifier( ProjectNotifier projectNotifier )
217     {
218         getNotifiers().remove( projectNotifier );
219     } //-- void removeNotifier( ProjectNotifier )
220 
221     /**
222      * Set the buildDefinitions field.
223      * 
224      * @param buildDefinitions
225      */
226     public void setBuildDefinitions( java.util.List<BuildDefinition> buildDefinitions )
227     {
228         this.buildDefinitions = buildDefinitions;
229     } //-- void setBuildDefinitions( java.util.List )
230 
231     /**
232      * Set the dependencies field.
233      * 
234      * @param dependencies
235      */
236     public void setDependencies( java.util.List<ProjectDependency> dependencies )
237     {
238         this.dependencies = dependencies;
239     } //-- void setDependencies( java.util.List )
240 
241     /**
242      * Set the developers field.
243      * 
244      * @param developers
245      */
246     public void setDevelopers( java.util.List<ProjectDeveloper> developers )
247     {
248         this.developers = developers;
249     } //-- void setDevelopers( java.util.List )
250 
251     /**
252      * Set the notifiers field.
253      * 
254      * @param notifiers
255      */
256     public void setNotifiers( java.util.List<ProjectNotifier> notifiers )
257     {
258         this.notifiers = notifiers;
259     } //-- void setNotifiers( java.util.List )
260 
261     /**
262      * Set the parent field.
263      * 
264      * @param parent
265      */
266     public void setParent( ProjectDependency parent )
267     {
268         this.parent = parent;
269     } //-- void setParent( ProjectDependency )
270 
271 }