@Override
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)
      return false;
    if (getClass() != obj.getClass())
      return false;
    RSResource other = (RSResource) obj;
    if (resource == null) {
      if (other.resource != null)
        return false;
    } else if (!resource.equals(other.resource))
      return false;
    if (suggestion == null) {
      if (other.suggestion != null)
        return false;
    } else if (!suggestion.equals(other.suggestion))
      return false;
    return true;
  }