View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.4.1 on 2011-06-14 21:26:11,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.plugin.resources.remote;
9   
10  /**
11   * Root element of the supplemental-models.xml file.
12   * 
13   * @version $Revision: 816514 $ $Date: 2012-05-08 11:24:24 +0000 (Tue, 08 May 2012) $
14   */
15  @SuppressWarnings( "all" )
16  public class SupplementalDataModel
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * Field supplement.
26       */
27      private java.util.List<Supplement> supplement;
28  
29      /**
30       * Field modelEncoding.
31       */
32      private String modelEncoding = "UTF-8";
33  
34  
35        //-----------/
36       //- Methods -/
37      //-----------/
38  
39      /**
40       * Method addSupplement.
41       * 
42       * @param supplement
43       */
44      public void addSupplement( Supplement supplement )
45      {
46          getSupplement().add( supplement );
47      } //-- void addSupplement( Supplement )
48  
49      /**
50       * Get the modelEncoding field.
51       * 
52       * @return String
53       */
54      public String getModelEncoding()
55      {
56          return this.modelEncoding;
57      } //-- String getModelEncoding()
58  
59      /**
60       * Method getSupplement.
61       * 
62       * @return List
63       */
64      public java.util.List<Supplement> getSupplement()
65      {
66          if ( this.supplement == null )
67          {
68              this.supplement = new java.util.ArrayList<Supplement>();
69          }
70  
71          return this.supplement;
72      } //-- java.util.List<Supplement> getSupplement()
73  
74      /**
75       * Method removeSupplement.
76       * 
77       * @param supplement
78       */
79      public void removeSupplement( Supplement supplement )
80      {
81          getSupplement().remove( supplement );
82      } //-- void removeSupplement( Supplement )
83  
84      /**
85       * Set the modelEncoding field.
86       * 
87       * @param modelEncoding
88       */
89      public void setModelEncoding( String modelEncoding )
90      {
91          this.modelEncoding = modelEncoding;
92      } //-- void setModelEncoding( String )
93  
94      /**
95       * Set snippets of POM xml files used to supplement the data
96       * model.
97       * 
98       * @param supplement
99       */
100     public void setSupplement( java.util.List<Supplement> supplement )
101     {
102         this.supplement = supplement;
103     } //-- void setSupplement( java.util.List )
104 
105 }