
org.walkmod.patches.Patch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walkmod-core Show documentation
Show all versions of walkmod-core Show documentation
Open source project to apply coding conventions. This is the core component
The newest version!
/*
Copyright (C) 2013 Raquel Pau and Albert Coroleu.
Walkmod is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Walkmod is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Walkmod. If not, see .*/
package org.walkmod.patches;
public class Patch {
private String diff;
private int beginLine;
private int beginColumn;
private int endLine;
private int endColumn;
private String cause;
private String location;
private boolean isMultiple;
/**
* @param diff
* @param beginLine
* @param beginColumn
* @param endLine
* @param endColumn
* @param cause
* @param location
*/
public Patch(String diff, int beginLine, int beginColumn, int endLine, int endColumn, String cause,
String location, boolean isMultiple) {
super();
this.diff = diff;
this.beginLine = beginLine;
this.beginColumn = beginColumn;
this.endLine = endLine;
this.endColumn = endColumn;
this.cause = cause;
this.location = location;
this.isMultiple = isMultiple;
}
public String getDiff() {
return diff;
}
public void setDiff(String diff) {
this.diff = diff;
}
public int getBeginLine() {
return beginLine;
}
public void setBeginLine(int beginLine) {
this.beginLine = beginLine;
}
public int getBeginColumn() {
return beginColumn;
}
public void setBeginColumn(int beginColumn) {
this.beginColumn = beginColumn;
}
public int getEndLine() {
return endLine;
}
public void setEndLine(int endLine) {
this.endLine = endLine;
}
public int getEndColumn() {
return endColumn;
}
public void setEndColumn(int endColumn) {
this.endColumn = endColumn;
}
public String getCause() {
return cause;
}
public void setCause(String cause) {
this.cause = cause;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public boolean getIsMultiple() {
return isMultiple;
}
public void setIsMultiple(boolean isMultiple) {
this.isMultiple = isMultiple;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy