View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.buildcache.xml.report;
7   
8   /**
9    * Class CacheReport.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class CacheReport
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Field projects.
24       */
25      private java.util.List<ProjectReport> projects;
26  
27      /**
28       * Field modelEncoding.
29       */
30      private String modelEncoding = "UTF-8";
31  
32  
33        //-----------/
34       //- Methods -/
35      //-----------/
36  
37      /**
38       * Method addProject.
39       * 
40       * @param projectReport a projectReport object.
41       */
42      public void addProject( ProjectReport projectReport )
43      {
44          getProjects().add( projectReport );
45      } //-- void addProject( ProjectReport )
46  
47      /**
48       * Get the modelEncoding field.
49       * 
50       * @return String
51       */
52      public String getModelEncoding()
53      {
54          return this.modelEncoding;
55      } //-- String getModelEncoding()
56  
57      /**
58       * Method getProjects.
59       * 
60       * @return List
61       */
62      public java.util.List<ProjectReport> getProjects()
63      {
64          if ( this.projects == null )
65          {
66              this.projects = new java.util.ArrayList<ProjectReport>();
67          }
68  
69          return this.projects;
70      } //-- java.util.List<ProjectReport> getProjects()
71  
72      /**
73       * Method removeProject.
74       * 
75       * @param projectReport a projectReport object.
76       */
77      public void removeProject( ProjectReport projectReport )
78      {
79          getProjects().remove( projectReport );
80      } //-- void removeProject( ProjectReport )
81  
82      /**
83       * Set the modelEncoding field.
84       * 
85       * @param modelEncoding a modelEncoding object.
86       */
87      public void setModelEncoding( String modelEncoding )
88      {
89          this.modelEncoding = modelEncoding;
90      } //-- void setModelEncoding( String )
91  
92      /**
93       * Set the projects field.
94       * 
95       * @param projects a projects object.
96       */
97      public void setProjects( java.util.List<ProjectReport> projects )
98      {
99          this.projects = projects;
100     } //-- void setProjects( java.util.List )
101 
102 }