1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.plugins.pmd.model;
25
26 /**
27 * Class SuppressedViolation.
28 *
29 * @version $Revision$ $Date$
30 */
31 @SuppressWarnings( "all" )
32 public class SuppressedViolation
33 implements java.io.Serializable
34 {
35
36 //--------------------------/
37 //- Class/Member Variables -/
38 //--------------------------/
39
40 /**
41 * Field filename.
42 */
43 private String filename;
44
45 /**
46 * Field suppressionType.
47 */
48 private String suppressionType;
49
50 /**
51 * Field ruleMessage.
52 */
53 private String ruleMessage;
54
55 /**
56 * Field userMessage.
57 */
58 private String userMessage;
59
60
61 //-----------/
62 //- Methods -/
63 //-----------/
64
65 /**
66 * Get the filename field.
67 *
68 * @return String
69 */
70 public String getFilename()
71 {
72 return this.filename;
73 } //-- String getFilename()
74
75 /**
76 * Get the ruleMessage field.
77 *
78 * @return String
79 */
80 public String getRuleMessage()
81 {
82 return this.ruleMessage;
83 } //-- String getRuleMessage()
84
85 /**
86 * Get the suppressionType field.
87 *
88 * @return String
89 */
90 public String getSuppressionType()
91 {
92 return this.suppressionType;
93 } //-- String getSuppressionType()
94
95 /**
96 * Get the userMessage field.
97 *
98 * @return String
99 */
100 public String getUserMessage()
101 {
102 return this.userMessage;
103 } //-- String getUserMessage()
104
105 /**
106 * Set the filename field.
107 *
108 * @param filename a filename object.
109 */
110 public void setFilename( String filename )
111 {
112 this.filename = filename;
113 } //-- void setFilename( String )
114
115 /**
116 * Set the ruleMessage field.
117 *
118 * @param ruleMessage a ruleMessage object.
119 */
120 public void setRuleMessage( String ruleMessage )
121 {
122 this.ruleMessage = ruleMessage;
123 } //-- void setRuleMessage( String )
124
125 /**
126 * Set the suppressionType field.
127 *
128 * @param suppressionType a suppressionType object.
129 */
130 public void setSuppressionType( String suppressionType )
131 {
132 this.suppressionType = suppressionType;
133 } //-- void setSuppressionType( String )
134
135 /**
136 * Set the userMessage field.
137 *
138 * @param userMessage a userMessage object.
139 */
140 public void setUserMessage( String userMessage )
141 {
142 this.userMessage = userMessage;
143 } //-- void setUserMessage( String )
144
145 }