All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.plugin.pmd.model.Violation Maven / Gradle / Ivy

/*
 =================== DO NOT EDIT THIS FILE ====================
 Generated by Modello 1.4.1 on 2014-11-10 23:04:46,
 any modifications will be overwritten.
 ==============================================================
 */

package org.apache.maven.plugin.pmd.model;

/**
 * Class Violation.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class Violation
    implements java.io.Serializable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field beginline.
     */
    private int beginline = 0;

    /**
     * Field violationClass.
     */
    private String violationClass;

    /**
     * Field violationPackage.
     */
    private String violationPackage;

    /**
     * Field rule.
     */
    private String rule;

    /**
     * Field priority.
     */
    private int priority = 0;

    /**
     * Field text.
     */
    private String text;


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Get the beginline field.
     * 
     * @return int
     */
    public int getBeginline()
    {
        return this.beginline;
    } //-- int getBeginline()

    /**
     * Get the priority field.
     * 
     * @return int
     */
    public int getPriority()
    {
        return this.priority;
    } //-- int getPriority()

    /**
     * Get the rule field.
     * 
     * @return String
     */
    public String getRule()
    {
        return this.rule;
    } //-- String getRule()

    /**
     * Get the text field.
     * 
     * @return String
     */
    public String getText()
    {
        return this.text;
    } //-- String getText()

    /**
     * Get the violationClass field.
     * 
     * @return String
     */
    public String getViolationClass()
    {
        return this.violationClass;
    } //-- String getViolationClass()

    /**
     * Get the violationPackage field.
     * 
     * @return String
     */
    public String getViolationPackage()
    {
        return this.violationPackage;
    } //-- String getViolationPackage()

    /**
     * Set the beginline field.
     * 
     * @param beginline
     */
    public void setBeginline( int beginline )
    {
        this.beginline = beginline;
    } //-- void setBeginline( int )

    /**
     * Set the priority field.
     * 
     * @param priority
     */
    public void setPriority( int priority )
    {
        this.priority = priority;
    } //-- void setPriority( int )

    /**
     * Set the rule field.
     * 
     * @param rule
     */
    public void setRule( String rule )
    {
        this.rule = rule;
    } //-- void setRule( String )

    /**
     * Set the text field.
     * 
     * @param text
     */
    public void setText( String text )
    {
        this.text = text;
    } //-- void setText( String )

    /**
     * Set the violationClass field.
     * 
     * @param violationClass
     */
    public void setViolationClass( String violationClass )
    {
        this.violationClass = violationClass;
    } //-- void setViolationClass( String )

    /**
     * Set the violationPackage field.
     * 
     * @param violationPackage
     */
    public void setViolationPackage( String violationPackage )
    {
        this.violationPackage = violationPackage;
    } //-- void setViolationPackage( String )

    
          
            private String fileName;
            
            public void setFileName( String fileName )
            {
              this.fileName = fileName;
            }
          
            public String getFileName()
            {
              return fileName;
            }
          
          
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy