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