Coverage Report - org.apache.maven.plugin.resources.remote.SupplementalDataModel
 
Classes in this File Line Coverage Branch Coverage Complexity
SupplementalDataModel
0 %
0/14
0 %
0/2
1,167
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.4.1 on 2012-05-07 22:19:55,
 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$ $Date$
 14  
  */
 15  
 @SuppressWarnings( "all" )
 16  0
 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  0
     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  0
         getSupplement().add( supplement );
 47  0
     } //-- void addSupplement( Supplement )
 48  
 
 49  
     /**
 50  
      * Get the modelEncoding field.
 51  
      * 
 52  
      * @return String
 53  
      */
 54  
     public String getModelEncoding()
 55  
     {
 56  0
         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  0
         if ( this.supplement == null )
 67  
         {
 68  0
             this.supplement = new java.util.ArrayList<Supplement>();
 69  
         }
 70  
 
 71  0
         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  0
         getSupplement().remove( supplement );
 82  0
     } //-- void removeSupplement( Supplement )
 83  
 
 84  
     /**
 85  
      * Set the modelEncoding field.
 86  
      * 
 87  
      * @param modelEncoding
 88  
      */
 89  
     public void setModelEncoding( String modelEncoding )
 90  
     {
 91  0
         this.modelEncoding = modelEncoding;
 92  0
     } //-- 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  0
         this.supplement = supplement;
 103  0
     } //-- void setSupplement( java.util.List )
 104  
 
 105  
 }