se.vgregion.usdservice.domain.Issue Maven / Gradle / Ivy
The newest version!
/**
* Copyright 2010 Västra Götalandsregionen
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This library 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 this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA
*
*/
/**
*
*/
package se.vgregion.usdservice.domain;
/**
* @author Anders Bergkvist
*
*/
public class Issue {
private String description;
private String summary;
private String refNum;
private String type;
private String url;
private String status;
private String associated;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getRefNum() {
return refNum;
}
public void setRefNum(String refNum) {
this.refNum = refNum;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getAssociated() {
return associated;
}
public void setAssociated(String associated) {
this.associated = associated;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Issue issue = (Issue) o;
if (refNum != null ? !refNum.equals(issue.refNum) : issue.refNum != null) return false;
return true;
}
@Override
public int hashCode() {
return refNum != null ? refNum.hashCode() : 0;
}
}