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 * The file a tag was found within. 10 * 11 * @version $Revision$ $Date$ 12 */ 13 public class TagListXMLFile 14 implements java.io.Serializable 15 { 16 17 //--------------------------/ 18 //- Class/Member Variables -/ 19 //--------------------------/ 20 21 /** 22 * Field name. 23 */ 24 private String name; 25 26 /** 27 * Field count. 28 */ 29 private String count; 30 31 /** 32 * Field comments. 33 */ 34 private java.util.List/*<TagListXMLComment>*/ comments; 35 36 37 //-----------/ 38 //- Methods -/ 39 //-----------/ 40 41 /** 42 * Method addComment. 43 * 44 * @param tagListXMLComment 45 */ 46 public void addComment( TagListXMLComment tagListXMLComment ) 47 { 48 getComments().add( tagListXMLComment ); 49 } //-- void addComment( TagListXMLComment ) 50 51 /** 52 * Method getComments. 53 * 54 * @return List 55 */ 56 public java.util.List/*<TagListXMLComment>*/ getComments() 57 { 58 if ( this.comments == null ) 59 { 60 this.comments = new java.util.ArrayList/*<TagListXMLComment>*/(); 61 } 62 63 return this.comments; 64 } //-- java.util.List/*<TagListXMLComment>*/ getComments() 65 66 /** 67 * Get the count field. 68 * 69 * @return String 70 */ 71 public String getCount() 72 { 73 return this.count; 74 } //-- String getCount() 75 76 /** 77 * Get the name field. 78 * 79 * @return String 80 */ 81 public String getName() 82 { 83 return this.name; 84 } //-- String getName() 85 86 /** 87 * Method removeComment. 88 * 89 * @param tagListXMLComment 90 */ 91 public void removeComment( TagListXMLComment tagListXMLComment ) 92 { 93 getComments().remove( tagListXMLComment ); 94 } //-- void removeComment( TagListXMLComment ) 95 96 /** 97 * Set the comments field. 98 * 99 * @param comments 100 */ 101 public void setComments( java.util.List/*<TagListXMLComment>*/ comments ) 102 { 103 this.comments = comments; 104 } //-- void setComments( java.util.List ) 105 106 /** 107 * Set the count field. 108 * 109 * @param count 110 */ 111 public void setCount( String count ) 112 { 113 this.count = count; 114 } //-- void setCount( String ) 115 116 /** 117 * Set the name field. 118 * 119 * @param name 120 */ 121 public void setName( String name ) 122 { 123 this.name = name; 124 } //-- void setName( String ) 125 126 }