class QualifiedRecommendation {

  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    QualifiedRecommendation other = (QualifiedRecommendation) obj;
    if (newEntry == null) {
      if (other.newEntry != null) {
        return false;
      }
    } else if (!newEntry.equals(other.newEntry)) {
      return false;
    }
    if (oldEntry == null) {
      if (other.oldEntry != null) {
        return false;
      }
    } else if (!oldEntry.equals(other.oldEntry)) {
      return false;
    }
    if (reason != other.reason) {
      return false;
    }
    if (recommendation != other.recommendation) {
      return false;
    }
    return true;
  }

  public  QualifiedRecommendation(
      MinimalZipEntry oldEntry,
      MinimalZipEntry newEntry,
      Recommendation recommendation,
      RecommendationReason reason);

}