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