package org.javabuilders.swing.plugins.glazedlists.test.resource;
import org.apache.commons.lang.builder.CompareToBuilder;
public class Defect implements Comparable {
private int id;
private String type;
private int priority = 0;
private String state;
private String summary;
private String reporter = "";
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(int id) {
this.id = id;
}
/**
* @return the type
*/
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
this.type = type;
}
/**
* @return the priority
*/
public int getPriority() {
return priority;
}
/**
* @param priority the priority to set
*/
public void setPriority(int priority) {
this.priority = priority;
}
/**
* @return the state
*/
public String getState() {
return state;
}
/**
* @param state the state to set
*/
public void setState(String state) {
this.state = state;
}
/**
* @return the summary
*/
public String getSummary() {
return summary;
}
/**
* @param summary the summary to set
*/
public void setSummary(String summary) {
this.summary = summary;
}
/**
* @return the reporter
*/
public String getReporter() {
return reporter;
}
/**
* @param reporter the reporter to set
*/
public void setReporter(String reporter) {
this.reporter = reporter;
}
public int compareTo(Object o) {
return CompareToBuilder.reflectionCompare(this, o);
}
}