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.plugin.resources.remote; 7 8 /** 9 * Root element of the supplemental-models.xml file. 10 * 11 * @version $Revision$ $Date$ 12 */ 13 @SuppressWarnings( "all" ) 14 public class SupplementalDataModel 15 implements java.io.Serializable 16 { 17 18 //--------------------------/ 19 //- Class/Member Variables -/ 20 //--------------------------/ 21 22 /** 23 * Field supplement. 24 */ 25 private java.util.List<Supplement> supplement; 26 27 /** 28 * Field modelEncoding. 29 */ 30 private String modelEncoding = "UTF-8"; 31 32 33 //-----------/ 34 //- Methods -/ 35 //-----------/ 36 37 /** 38 * Method addSupplement. 39 * 40 * @param supplement a supplement object. 41 */ 42 public void addSupplement( Supplement supplement ) 43 { 44 getSupplement().add( supplement ); 45 } //-- void addSupplement( Supplement ) 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 getSupplement. 59 * 60 * @return List 61 */ 62 public java.util.List<Supplement> getSupplement() 63 { 64 if ( this.supplement == null ) 65 { 66 this.supplement = new java.util.ArrayList<Supplement>(); 67 } 68 69 return this.supplement; 70 } //-- java.util.List<Supplement> getSupplement() 71 72 /** 73 * Method removeSupplement. 74 * 75 * @param supplement a supplement object. 76 */ 77 public void removeSupplement( Supplement supplement ) 78 { 79 getSupplement().remove( supplement ); 80 } //-- void removeSupplement( Supplement ) 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 snippets of POM xml files used to supplement the data 94 * model. 95 * 96 * @param supplement a supplement object. 97 */ 98 public void setSupplement( java.util.List<Supplement> supplement ) 99 { 100 this.supplement = supplement; 101 } //-- void setSupplement( java.util.List ) 102 103 }