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