001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2008.01.25 at 09:11:55 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.pmd.jaxb; 010 011 import javax.xml.bind.annotation.XmlAccessType; 012 import javax.xml.bind.annotation.XmlAccessorType; 013 import javax.xml.bind.annotation.XmlAttribute; 014 import javax.xml.bind.annotation.XmlRootElement; 015 import javax.xml.bind.annotation.XmlType; 016 017 018 /** 019 * <p>Java class for anonymous complex type. 020 * 021 * <p>The following schema fragment specifies the expected content contained within this class. 022 * 023 * <pre> 024 * <complexType> 025 * <complexContent> 026 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 027 * <attribute name="line" type="{http://www.w3.org/2001/XMLSchema}int" /> 028 * <attribute name="beginline" type="{http://www.w3.org/2001/XMLSchema}int" /> 029 * <attribute name="endline" type="{http://www.w3.org/2001/XMLSchema}int" /> 030 * <attribute name="begincolumn" type="{http://www.w3.org/2001/XMLSchema}int" /> 031 * <attribute name="endcolumn" type="{http://www.w3.org/2001/XMLSchema}int" /> 032 * <attribute ref="{}rule"/> 033 * <attribute ref="{}ruleset"/> 034 * <attribute ref="{}package"/> 035 * <attribute ref="{}priority"/> 036 * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> 037 * <attribute name="method" type="{http://www.w3.org/2001/XMLSchema}string" /> 038 * <attribute name="externalInfoUrl" type="{http://www.w3.org/2001/XMLSchema}string" /> 039 * </restriction> 040 * </complexContent> 041 * </complexType> 042 * </pre> 043 * 044 * 045 */ 046 @XmlAccessorType(XmlAccessType.FIELD) 047 @XmlType(name = "") 048 @XmlRootElement(name = "violation") 049 public class Violation { 050 051 @XmlAttribute 052 protected Integer line; 053 @XmlAttribute 054 protected Integer beginline; 055 @XmlAttribute 056 protected Integer endline; 057 @XmlAttribute 058 protected Integer begincolumn; 059 @XmlAttribute 060 protected Integer endcolumn; 061 @XmlAttribute 062 protected String rule; 063 @XmlAttribute 064 protected String ruleset; 065 @XmlAttribute(name = "package") 066 protected String _package; 067 @XmlAttribute 068 protected Integer priority; 069 @XmlAttribute(name = "class") 070 protected String clazz; 071 @XmlAttribute 072 protected String method; 073 @XmlAttribute 074 protected String externalInfoUrl; 075 076 /** 077 * Gets the value of the line property. 078 * 079 * @return 080 * possible object is 081 * {@link Integer } 082 * 083 */ 084 public Integer getLine() { 085 return line; 086 } 087 088 /** 089 * Sets the value of the line property. 090 * 091 * @param value 092 * allowed object is 093 * {@link Integer } 094 * 095 */ 096 public void setLine(Integer value) { 097 this.line = value; 098 } 099 100 /** 101 * Gets the value of the beginline property. 102 * 103 * @return 104 * possible object is 105 * {@link Integer } 106 * 107 */ 108 public Integer getBeginline() { 109 return beginline; 110 } 111 112 /** 113 * Sets the value of the beginline property. 114 * 115 * @param value 116 * allowed object is 117 * {@link Integer } 118 * 119 */ 120 public void setBeginline(Integer value) { 121 this.beginline = value; 122 } 123 124 /** 125 * Gets the value of the endline property. 126 * 127 * @return 128 * possible object is 129 * {@link Integer } 130 * 131 */ 132 public Integer getEndline() { 133 return endline; 134 } 135 136 /** 137 * Sets the value of the endline property. 138 * 139 * @param value 140 * allowed object is 141 * {@link Integer } 142 * 143 */ 144 public void setEndline(Integer value) { 145 this.endline = value; 146 } 147 148 /** 149 * Gets the value of the begincolumn property. 150 * 151 * @return 152 * possible object is 153 * {@link Integer } 154 * 155 */ 156 public Integer getBegincolumn() { 157 return begincolumn; 158 } 159 160 /** 161 * Sets the value of the begincolumn property. 162 * 163 * @param value 164 * allowed object is 165 * {@link Integer } 166 * 167 */ 168 public void setBegincolumn(Integer value) { 169 this.begincolumn = value; 170 } 171 172 /** 173 * Gets the value of the endcolumn property. 174 * 175 * @return 176 * possible object is 177 * {@link Integer } 178 * 179 */ 180 public Integer getEndcolumn() { 181 return endcolumn; 182 } 183 184 /** 185 * Sets the value of the endcolumn property. 186 * 187 * @param value 188 * allowed object is 189 * {@link Integer } 190 * 191 */ 192 public void setEndcolumn(Integer value) { 193 this.endcolumn = value; 194 } 195 196 /** 197 * Gets the value of the rule property. 198 * 199 * @return 200 * possible object is 201 * {@link String } 202 * 203 */ 204 public String getRule() { 205 return rule; 206 } 207 208 /** 209 * Sets the value of the rule property. 210 * 211 * @param value 212 * allowed object is 213 * {@link String } 214 * 215 */ 216 public void setRule(String value) { 217 this.rule = value; 218 } 219 220 /** 221 * Gets the value of the ruleset property. 222 * 223 * @return 224 * possible object is 225 * {@link String } 226 * 227 */ 228 public String getRuleset() { 229 return ruleset; 230 } 231 232 /** 233 * Sets the value of the ruleset property. 234 * 235 * @param value 236 * allowed object is 237 * {@link String } 238 * 239 */ 240 public void setRuleset(String value) { 241 this.ruleset = value; 242 } 243 244 /** 245 * Gets the value of the package property. 246 * 247 * @return 248 * possible object is 249 * {@link String } 250 * 251 */ 252 public String getPackage() { 253 return _package; 254 } 255 256 /** 257 * Sets the value of the package property. 258 * 259 * @param value 260 * allowed object is 261 * {@link String } 262 * 263 */ 264 public void setPackage(String value) { 265 this._package = value; 266 } 267 268 /** 269 * Gets the value of the priority property. 270 * 271 * @return 272 * possible object is 273 * {@link Integer } 274 * 275 */ 276 public Integer getPriority() { 277 return priority; 278 } 279 280 /** 281 * Sets the value of the priority property. 282 * 283 * @param value 284 * allowed object is 285 * {@link Integer } 286 * 287 */ 288 public void setPriority(Integer value) { 289 this.priority = value; 290 } 291 292 /** 293 * Gets the value of the clazz property. 294 * 295 * @return 296 * possible object is 297 * {@link String } 298 * 299 */ 300 public String getClazz() { 301 return clazz; 302 } 303 304 /** 305 * Sets the value of the clazz property. 306 * 307 * @param value 308 * allowed object is 309 * {@link String } 310 * 311 */ 312 public void setClazz(String value) { 313 this.clazz = value; 314 } 315 316 /** 317 * Gets the value of the method property. 318 * 319 * @return 320 * possible object is 321 * {@link String } 322 * 323 */ 324 public String getMethod() { 325 return method; 326 } 327 328 /** 329 * Sets the value of the method property. 330 * 331 * @param value 332 * allowed object is 333 * {@link String } 334 * 335 */ 336 public void setMethod(String value) { 337 this.method = value; 338 } 339 340 /** 341 * Gets the value of the externalInfoUrl property. 342 * 343 * @return 344 * possible object is 345 * {@link String } 346 * 347 */ 348 public String getExternalInfoUrl() { 349 return externalInfoUrl; 350 } 351 352 /** 353 * Sets the value of the externalInfoUrl property. 354 * 355 * @param value 356 * allowed object is 357 * {@link String } 358 * 359 */ 360 public void setExternalInfoUrl(String value) { 361 this.externalInfoUrl = value; 362 } 363 364 }