@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((capital == null) ? 0 : capital.hashCode());
    result = prime * result + ((flag == null) ? 0 : flag.hashCode());
    result = prime * result + idCountry;
    result = prime * result + ((language == null) ? 0 : language.hashCode());
    result = prime * result + ((name == null) ? 0 : name.hashCode());
    return result;
  }