1 // =================== DO NOT EDIT THIS FILE ==================== 2 // Generated by Modello 1.11, 3 // any modifications will be overwritten. 4 // ============================================================== 5 6 package org.codehaus.mojo.taglist.output; 7 8 /** 9 * A specific tag defined by the user. 10 * 11 * @version $Revision$ $Date$ 12 */ 13 public class TagListXMLTag 14 implements java.io.Serializable 15 { 16 17 //--------------------------/ 18 //- Class/Member Variables -/ 19 //--------------------------/ 20 21 /** 22 * The name of the tag. 23 */ 24 private String name; 25 26 /** 27 * Field count. 28 */ 29 private String count; 30 31 /** 32 * Field files. 33 */ 34 private java.util.List/*<TagListXMLFile>*/ files; 35 36 37 //-----------/ 38 //- Methods -/ 39 //-----------/ 40 41 /** 42 * Method addFile. 43 * 44 * @param tagListXMLFile 45 */ 46 public void addFile( TagListXMLFile tagListXMLFile ) 47 { 48 getFiles().add( tagListXMLFile ); 49 } //-- void addFile( TagListXMLFile ) 50 51 /** 52 * Get the count field. 53 * 54 * @return String 55 */ 56 public String getCount() 57 { 58 return this.count; 59 } //-- String getCount() 60 61 /** 62 * Method getFiles. 63 * 64 * @return List 65 */ 66 public java.util.List/*<TagListXMLFile>*/ getFiles() 67 { 68 if ( this.files == null ) 69 { 70 this.files = new java.util.ArrayList/*<TagListXMLFile>*/(); 71 } 72 73 return this.files; 74 } //-- java.util.List/*<TagListXMLFile>*/ getFiles() 75 76 /** 77 * Get the name of the tag. 78 * 79 * @return String 80 */ 81 public String getName() 82 { 83 return this.name; 84 } //-- String getName() 85 86 /** 87 * Method removeFile. 88 * 89 * @param tagListXMLFile 90 */ 91 public void removeFile( TagListXMLFile tagListXMLFile ) 92 { 93 getFiles().remove( tagListXMLFile ); 94 } //-- void removeFile( TagListXMLFile ) 95 96 /** 97 * Set the count field. 98 * 99 * @param count 100 */ 101 public void setCount( String count ) 102 { 103 this.count = count; 104 } //-- void setCount( String ) 105 106 /** 107 * Set the files field. 108 * 109 * @param files 110 */ 111 public void setFiles( java.util.List/*<TagListXMLFile>*/ files ) 112 { 113 this.files = files; 114 } //-- void setFiles( java.util.List ) 115 116 /** 117 * Set the name of the tag. 118 * 119 * @param name 120 */ 121 public void setName( String name ) 122 { 123 this.name = name; 124 } //-- void setName( String ) 125 126 }