Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PmdErrorDetail |
|
| 1.1666666666666667;1,167 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.4.1 on 2012-02-12 12:12:26, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.plugin.pmd.model; | |
9 | ||
10 | /** | |
11 | * Class PmdErrorDetail. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | @SuppressWarnings( "all" ) | |
16 | 3 | public class PmdErrorDetail |
17 | implements java.io.Serializable | |
18 | { | |
19 | ||
20 | //--------------------------/ | |
21 | //- Class/Member Variables -/ | |
22 | //--------------------------/ | |
23 | ||
24 | /** | |
25 | * Field files. | |
26 | */ | |
27 | private java.util.List<PmdFile> files; | |
28 | ||
29 | /** | |
30 | * Field modelEncoding. | |
31 | */ | |
32 | 3 | private String modelEncoding = "UTF-8"; |
33 | ||
34 | ||
35 | //-----------/ | |
36 | //- Methods -/ | |
37 | //-----------/ | |
38 | ||
39 | /** | |
40 | * Method addFile. | |
41 | * | |
42 | * @param pmdFile | |
43 | */ | |
44 | public void addFile( PmdFile pmdFile ) | |
45 | { | |
46 | 0 | getFiles().add( pmdFile ); |
47 | 0 | } //-- void addFile( PmdFile ) |
48 | ||
49 | /** | |
50 | * Method getFiles. | |
51 | * | |
52 | * @return List | |
53 | */ | |
54 | public java.util.List<PmdFile> getFiles() | |
55 | { | |
56 | 12 | if ( this.files == null ) |
57 | { | |
58 | 3 | this.files = new java.util.ArrayList<PmdFile>(); |
59 | } | |
60 | ||
61 | 12 | return this.files; |
62 | } //-- java.util.List<PmdFile> getFiles() | |
63 | ||
64 | /** | |
65 | * Get the modelEncoding field. | |
66 | * | |
67 | * @return String | |
68 | */ | |
69 | public String getModelEncoding() | |
70 | { | |
71 | 0 | return this.modelEncoding; |
72 | } //-- String getModelEncoding() | |
73 | ||
74 | /** | |
75 | * Method removeFile. | |
76 | * | |
77 | * @param pmdFile | |
78 | */ | |
79 | public void removeFile( PmdFile pmdFile ) | |
80 | { | |
81 | 0 | getFiles().remove( pmdFile ); |
82 | 0 | } //-- void removeFile( PmdFile ) |
83 | ||
84 | /** | |
85 | * Set the files field. | |
86 | * | |
87 | * @param files | |
88 | */ | |
89 | public void setFiles( java.util.List<PmdFile> files ) | |
90 | { | |
91 | 0 | this.files = files; |
92 | 0 | } //-- void setFiles( java.util.List ) |
93 | ||
94 | /** | |
95 | * Set the modelEncoding field. | |
96 | * | |
97 | * @param modelEncoding | |
98 | */ | |
99 | public void setModelEncoding( String modelEncoding ) | |
100 | { | |
101 | 3 | this.modelEncoding = modelEncoding; |
102 | 3 | } //-- void setModelEncoding( String ) |
103 | ||
104 | } |