package com.offbytwo.jenkins.model; /** * @author Karl Heinz Marbaise * */ public class BuildChangeSetAuthor { private String absoluteUrl; private String fullName; public String getAbsoluteUrl() { return absoluteUrl; } public void setAbsoluteUrl(String absoluteUrl) { this.absoluteUrl = absoluteUrl; } public String getFullName() { return fullName; } public void setFullName(String fullName) { this.fullName = fullName; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((absoluteUrl == null) ? 0 : absoluteUrl.hashCode()); result = prime * result + ((fullName == null) ? 0 : fullName.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; BuildChangeSetAuthor other = (BuildChangeSetAuthor) obj; if (absoluteUrl == null) { if (other.absoluteUrl != null) return false; } else if (!absoluteUrl.equals(other.absoluteUrl)) return false; if (fullName == null) { if (other.fullName != null) return false; } else if (!fullName.equals(other.fullName)) return false; return true; } }