Package org.xrace.model

Examples of org.xrace.model.Federation


  }

  private void createTestFederation()
  {
    getFederationService().save(
        new Federation("AHO", "NETHERLANDS ANTILLES",
            "ANTILLES NEERLANDAISES"));
    getFederationService()
        .save(new Federation("ALB", "ALBANIA", "ALBANIE"));
    getFederationService()
        .save(new Federation("ALG", "ALGERIA", "ALGERIE"));
    getFederationService()
        .save(new Federation("AND", "ANDORRA", "ANDORRE"));
    getFederationService().save(new Federation("ANG", "ANGOLA", "ANGOLA"));
    getFederationService().save(
        new Federation("ANT", "ANTIGUA AND BARBUDA",
            "ANTIGUA-ET-BARBUDA"));
    getFederationService().save(
        new Federation("ARG", "ARGENTINA", "ARGENTINE"));
    getFederationService()
        .save(new Federation("ARM", "ARMENIA", "ARMENIE"));
    getFederationService().save(new Federation("ARU", "ARUBA", "ARUBA"));
    getFederationService().save(
        new Federation("AUS", "AUSTRALIA", "AUSTRALIE"));
    getFederationService().save(
        new Federation("AUT", "AUSTRIA", "AUTRICHE"));
    getFederationService().save(
        new Federation("AZE", "AZERBAIJAN", "AZERBAIDJAN"));
    getFederationService()
        .save(new Federation("BAH", "BAHAMAS", "BAHAMAS"));
    getFederationService().save(
        new Federation("BAN", "BANGLADESH", "BANGLADESH"));
    getFederationService().save(
        new Federation("BAR", "BARBADOS ", "BARBADE"));
    getFederationService()
        .save(new Federation("BDI", "BURUNDI", "BURUNDI"));
    getFederationService().save(
        new Federation("BEL", "BELGIUM", "BELGIQUE"));
    getFederationService().save(new Federation("BEN", "BENIN ", "BENIN "));
    getFederationService().save(
        new Federation("BER", "BERMUDA", "BERMUDES"));
    getFederationService().save(
        new Federation("BIH", "BOSNIA-HERZEGOVNIA",
            "BOSNIE-HERZEGOVINE"));
    getFederationService()
        .save(new Federation("BIZ", "BELIZE ", "BELIZE "));
    getFederationService()
        .save(new Federation("BLR", "BELARUS", "BELARUS"));
    getFederationService().save(
        new Federation("BOL", "BOLIVIA ", "BOLIVIE"));
    getFederationService().save(new Federation("BRA", "BRAZIL ", "BRESIL"));
    getFederationService()
        .save(new Federation("BRN", "BAHRAIN", "BAHREIN"));
    getFederationService()
        .save(new Federation("BRU", "BRUNEI DARUSSALAM ",
            "BRUNEI DARUSSALAM"));
    getFederationService().save(
        new Federation("BUL", "BULGARIA ", "BULGARIE"));
    getFederationService().save(
        new Federation("BUR", "BURKINA FASO ", "BURKINA FASO"));
    getFederationService().save(new Federation("CAN", "CANADA ", "CANADA"));
    getFederationService().save(
        new Federation("CAY", "CAYMAN ISLANDS", "ILES CAIMANS"));
    getFederationService().save(new Federation("CGO", "CONGO", "CONGO"));
    getFederationService().save(new Federation("CHI", "CHILE", "CHILI"));
    getFederationService().save(
        new Federation("CHN", "PEOPLE’S REPUBLIC OF CHINA ",
            "REPUBLIQUE POPULAIRE DE CHINE"));
    getFederationService().save(
        new Federation("CIV", "IVORY COAST ", "COTE D'IVOIRE"));
    getFederationService().save(
        new Federation("CMR", "CAMEROON", "CAMEROUN"));
    getFederationService().save(
        new Federation("COL", "COLOMBIA", "COLOMBIE"));
    getFederationService().save(
        new Federation("COM", "COMOROS ", "COMORES"));
    getFederationService().save(
        new Federation("CPV", "CAPE VERDE", "CAP-VERT"));
    getFederationService().save(
        new Federation("CRC", "COSTA RICA ", "COSTA RICA"));
    getFederationService().save(
        new Federation("CRO", "CROATIA ", "CROATIE"));
    getFederationService().save(new Federation("CUB", "CUBA ", "CUBA"));
    getFederationService().save(new Federation("CYP", "CYPRUS ", "CHYPRE"));
    getFederationService().save(
        new Federation("CZE", "CZECH REPUBLIC ", "REPUBLIQUE TCHEQUE"));
    getFederationService().save(
        new Federation("DEN", "DENMARK ", "DANEMARK"));
    getFederationService().save(
        new Federation("DOM", "DOMINICAN REPUBLIC ",
            "REPUBLIQUE DOMINICAINE"));
    getFederationService().save(
        new Federation("ECU", "ECUADOR", "EQUATEUR"));
    getFederationService().save(new Federation("EGY", "EGYPT", "EGYPTE"));
    getFederationService().save(
        new Federation("ERI", "ERITREA", "ERYTHREE"));
    getFederationService().save(
        new Federation("ESA", "EL SALVADOR", "EL SALVADOR"));
    getFederationService().save(new Federation("ESP", "SPAIN", "ESPAGNE"));
    getFederationService().save(
        new Federation("EST", "ESTONIA ", "ESTONIE"));
    getFederationService().save(
        new Federation("ETH", "ETHIOPIA ", "ETHIOPIE"));
    getFederationService().save(new Federation("FIJ", "FIJI ", "FIDJI"));
    getFederationService().save(
        new Federation("FIN", "FINLAND ", "FINLANDE"));
    getFederationService().save(new Federation("FRA", "FRANCE ", "FRANCE"));
    getFederationService().save(new Federation("GAB", "GABON ", "GABON"));
    getFederationService().save(
        new Federation("GBR", "GREAT BRITAIN ", "GRANDE-BRETAGNE"));
    getFederationService().save(
        new Federation("GEO", "GEORGIA ", "GEORGIE"));
    getFederationService().save(
        new Federation("GER", "GERMANY ", "ALLEMAGNE"));
    getFederationService().save(new Federation("GRE", "GREECE ", "GRECE"));
    getFederationService()
        .save(new Federation("GRN", "GRENADA", "GRENADE"));
    getFederationService().save(
        new Federation("GUA", "GUATEMALA ", "GUATEMALA"));
    getFederationService().save(new Federation("GUI", "GUINEA ", "GUINEE"));
    getFederationService().save(new Federation("GUM", "GUAM ", "GUAM"));
    getFederationService().save(new Federation("GUY", "GUYANA ", "GUYANE"));
    getFederationService().save(new Federation("HAI", "HAITI ", "HAITI"));
    getFederationService().save(
        new Federation("HKG", "HONG-KONG, CHINA", "HONG-KONG, CHINE"));
    getFederationService().save(
        new Federation("HON", "HONDURAS ", "HONDURAS"));
    getFederationService()
        .save(new Federation("HUN", "HUNGARY", "HONGRIE"));
    getFederationService().save(
        new Federation("INA", "INDONESIA", "INDONESIE"));
    getFederationService().save(new Federation("IND", "INDIA ", "INDE"));
    getFederationService()
        .save(new Federation("IRL", "IRELAND", "IRLANDE"));
    getFederationService().save(
        new Federation("IRI", "ISLAMIC REPUBLIC OF IRAN ",
            "REPUBLIQUE ISLAMIQUE D'IRAN"));
    getFederationService().save(new Federation("IRQ", "IRAQ", "IRAQ"));
    getFederationService().save(new Federation("ISR", "ISRAEL ", "ISRAEL"));
    getFederationService().save(
        new Federation("ISV", "VIRGIN ISLANDS", "ILES VIERGES"));
    getFederationService().save(new Federation("ITA", "ITALY ", "ITALIE"));
    getFederationService().save(
        new Federation("JAM", "JAMAICA ", "JAMAIQUE"));
    getFederationService().save(
        new Federation("JOR", "JORDAN ", "JORDANIE"));
    getFederationService().save(new Federation("JPN", "JAPAN", "JAPON"));
    getFederationService().save(
        new Federation("KAZ", "KAZAKHSTAN ", "KAZAKHSTAN"));
    getFederationService().save(new Federation("KEN", "KENYA", "KENYA"));
    getFederationService().save(
        new Federation("KGZ", "KYRGYZSTAN ", "KIRGHIZISTAN"));
    getFederationService().save(
        new Federation("KOR", "REPUBLIC OF KOREA",
            "REPUBLIQUE DE COREE"));
    getFederationService().save(
        new Federation("KSA", "SAUDI ARABIA ", "ARABIE SAOUDITE"));
    getFederationService().save(new Federation("KUW", "KUWEIT ", "KOWEIT"));
    getFederationService().save(
        new Federation("LAO", "LAO PEOPLE’S DEMOCRATIC REPUBLIC",
            "REPUBLIQUE POPULAIRE DEMOCRATIQUE LAO"));
    getFederationService().save(
        new Federation("LAT", "LATVIA ", "LETTONIE"));
    getFederationService().save(
        new Federation("LBA", "LIBYAN ARAB JAMAHIRIYA ",
            "JAMAHIRIYA ARABE LIBYENNE"));
    getFederationService().save(
        new Federation("LCA", "SAINT LUCIA", "SAINTE-LUCIE"));
    getFederationService().save(new Federation("LIB", "LEBANO", "LIBAN"));
    getFederationService().save(
        new Federation("LIE", "LIECHTENSTEIN", "LIECHTENSTEIN"));
    getFederationService().save(
        new Federation("LTU", "LITHUANIA", "LITUANIE"));
    getFederationService().save(
        new Federation("LUX", "LUXEMBOURG", "LUXEMBOURG"));
    getFederationService().save(
        new Federation("MAC", "MACAO, CHINA ", "MACAO, CHINE"));
    getFederationService().save(
        new Federation("MAD", "MADAGASCAR ", "MADAGASCAR"));
    getFederationService().save(new Federation("MAR", "MOROCCO ", "MAROC"));
    getFederationService().save(
        new Federation("MAS", "MALAYSIA ", "MALAISIE"));
    getFederationService().save(new Federation("MAW", "MALAWI", "MALAWI"));
    getFederationService().save(
        new Federation("MDA", "REPUBLIC OF MOLDOVA ",
            "REPUBLIQUE DE MOLDOVA"));
    getFederationService().save(new Federation("MEX", "MEXICO", "MEXIQUE"));
    getFederationService().save(
        new Federation("MGL", "MONGOLIA", "MONGOLIE"));
    getFederationService().save(
        new Federation("MKD", "FORMER YUGOSLAV REPUBLIC OF MACEDONIA",
            "EX-REPUBLIQUE YOUGOSLAVE DE MACEDOINE"));
    getFederationService().save(new Federation("MLI", "MALI", "MALI"));
    getFederationService().save(new Federation("MLT", "MALTA", "MALTE"));
    getFederationService().save(
        new Federation("MNE", "MONTENEGRO", "MONTENEGRO"));
    getFederationService().save(new Federation("MON", "MONACO", "MONACO"));
    getFederationService().save(
        new Federation("MRI", "MAURITIUS", "MAURICE"));
    getFederationService()
        .save(new Federation("MYA", "MYANMAR", "MYANMAR"));
    getFederationService().save(
        new Federation("NAM", "NAMIBIA ", "NAMIBIE"));
    getFederationService().save(
        new Federation("NCA", "NICARAGUA", "NICARAGUA"));
    getFederationService().save(
        new Federation("NED", "NETHERLANDS", "PAYS-BAS"));
    getFederationService().save(new Federation("NEP", "NEPAL", "NEPAL"));
    getFederationService()
        .save(new Federation("NGR", "NIGERIA", "NIGERIA"));
    getFederationService().save(new Federation("NIG", "NIGER", "NIGER"));
    getFederationService().save(new Federation("NOR", "NORWAY", "NORVEGE"));
    getFederationService().save(
        new Federation("NZL", "NEW-ZEALAND", "NOUVELLE-ZELANDE"));
    getFederationService().save(new Federation("OMA", "OMAN ", "OMAN"));
    getFederationService().save(
        new Federation("PAK", "PAKISTAN", "PAKISTAN"));
    getFederationService().save(new Federation("PAN", "PANAMA", "PANAMA"));
    getFederationService().save(
        new Federation("PAR", "PARAGUAY", "PARAGUAY"));
    getFederationService().save(new Federation("PER", "PERU", "PEROU"));
    getFederationService().save(
        new Federation("PHI", "PHILIPPINES", "PHILIPPINES"));
    getFederationService().save(new Federation("POL", "POLAND", "POLOGNE"));
    getFederationService().save(
        new Federation("POR", "PORTUGAL", "PORTUGAL"));
    getFederationService().save(
        new Federation("PRK", "DEMOCRATIC PEOPLE’S REPUBLIC OF KOREA ",
            "REPUBLIQUE POPULAIRE DEMOCRATIQUE DE COREE"));
    getFederationService().save(
        new Federation("PUR", "PUERTO RICO", "PORTO RICO"));
    getFederationService().save(new Federation("QAT", "QATAR ", "QATAR"));
    getFederationService().save(
        new Federation("ROU", "ROMANIA", "ROUMANIE"));
    getFederationService().save(
        new Federation("RSA", "SOUTH AFRICA", "AFRIQUE DU SUD"));
    getFederationService().save(
        new Federation("RUS", "RUSSIAN FEDERATION",
            "FEDERATION DE RUSSIE"));
    getFederationService().save(new Federation("RWA", "RWANDA", "RWANDA"));
    getFederationService()
        .save(new Federation("SEN", "SENEGAL", "SENEGAL"));
    getFederationService().save(
        new Federation("SEY", "SEYCHELLES", "SEYCHELLES"));
    getFederationService().save(
        new Federation("SIN", "SINGAPORE", "SINGAPOUR"));
    getFederationService().save(
        new Federation("SKN", "SAINT KITTS AND NEVIS",
            "SAINT-KITTS-ET-NEVIS"));
    getFederationService().save(
        new Federation("SLE", "SIERRA LEONE", "SIERRA LEONE"));
    getFederationService().save(
        new Federation("SLO", "SLOVENIA", "SLOVENIE"));
    getFederationService().save(
        new Federation("SMR", "SAN MARINO", "SAINT-MARIN"));
    getFederationService().save(new Federation("SRB", "SERBIA", "SERBIE"));
    getFederationService().save(
        new Federation("SRI", "SRI LANKA", "SRI LANKA"));
    getFederationService().save(new Federation("SUD", "SUDAN", "SOUDAN"));
    getFederationService().save(
        new Federation("SUI", "SWITZERLAND", "SUISSE"));
    getFederationService().save(
        new Federation("SUR", "SURINAME", "SURINAME"));
    getFederationService().save(
        new Federation("SVK", "SLOVAKIA", "SLOVAQUIE"));
    getFederationService().save(new Federation("SWE", "SWEDEN", "SUEDE"));
    getFederationService().save(
        new Federation("SYR", "SYRIAN ARAB REPUBLIC",
            "REPUBLIQUE ARABE SYRIENNE"));
    getFederationService().save(
        new Federation("THA", "THAILAND ", "THAILANDE "));
    getFederationService().save(
        new Federation("TKM", "TURKMENISTAN", "TURKMENISTAN"));
    getFederationService().save(
        new Federation("TLS", "TIMOR-LESTE", "TIMOR-LESTE"));
    getFederationService().save(new Federation("TOG", "TOGO", "TOGO"));
    getFederationService().save(
        new Federation("TPE", "CHINESE TAIPEI", "CHINESE TAIPEI"));
    getFederationService().save(
        new Federation("TRI", "TRINIDAD AND TOBAGO",
            "TRINITE-ET-TOBAGO"));
    getFederationService()
        .save(new Federation("TUN", "TUNISIA", "TUNISIE"));
    getFederationService().save(new Federation("TUR", "TURKEY", "TURQUIE"));
    getFederationService().save(
        new Federation("UAE", "UNITED ARAB EMIRATES ",
            "EMIRATS ARABES UNIS"));
    getFederationService().save(new Federation("UGA", "UGANDA", "OUGANDA"));
    getFederationService()
        .save(new Federation("UKR", "UKRAINE", "UKRAINE"));
    getFederationService()
        .save(new Federation("URU", "URUGUAY", "URUGUAY"));
    getFederationService().save(
        new Federation("USA", "UNITED STATES OF AMERICA",
            "ETATS-UNIS D'AMERIQUE"));
    getFederationService().save(
        new Federation("UZB", "UZBEKISTAN", "OUZBEKISTAN"));
    getFederationService().save(
        new Federation("VEN", "VENEZUELA", "VENEZUELA"));
    getFederationService()
        .save(new Federation("VIE", "VIETNAM", "VIETNAM"));
    getFederationService().save(
        new Federation("VIN", "SAINT VINCENT AND THE GRENADINES",
            "SAINT-VINCENT-ET-LES-GRENADINES"));
    getFederationService().save(new Federation("YEM", "YEMEN", "YEMEN"));
    getFederationService().save(new Federation("ZAM", "ZAMBIA", "ZAMBIE"));
    getFederationService().save(
        new Federation("ZIM", "ZIMBABWE", "ZIMBABWE"));

  }
View Full Code Here


  private void createTestProvince()
  {
    /*
     * Provinces du Canada
     */
    final Federation federationCanada = getFederationService().findByCode(
        "CAN");
    getProvinceService().save(
        new Province(federationCanada, "AB", "Alberta", "Alberta"));
    getProvinceService().save(
        new Province(federationCanada, "BC", "Colombie-Britannique",
            "British Columbia"));
    getProvinceService().save(
        new Province(federationCanada, "MB", "Manitoba", "Manitoba"));
    getProvinceService().save(
        new Province(federationCanada, "NB", "Nouveau-Brunswick",
            "New Brunswick"));
    getProvinceService().save(
        new Province(federationCanada, "NT", "Terre-Neuve-et-Labrador",
            "Newfoundland and Labrador"));
    getProvinceService().save(
        new Province(federationCanada, "NS", "Nouvelle-Écosse",
            "Nova Scotia"));
    getProvinceService().save(
        new Province(federationCanada, "NU", "Nunavut", "Nunavut"));
    getProvinceService().save(
        new Province(federationCanada, "ON", "Ontario", "Ontario"));
    getProvinceService().save(
        new Province(federationCanada, "PEI", "Île-du-Prince-Édouard",
            "Prince Edward Island"));
    getProvinceService().save(
        new Province(federationCanada, "QB", "Québec", "Quebec"));
    getProvinceService().save(
        new Province(federationCanada, "SK", "Saskatchewan",
            "Saskatchewan"));
    getProvinceService().save(
        new Province(federationCanada, "YK", "Yukon", "Yukon"));

    /*
     * États des USA
     */
    final Federation federationUSA = getFederationService().findByCode(
        "USA");
    getProvinceService().save(
        new Province(federationUSA, "AK", "Alaska", "Alaska"));
    getProvinceService().save(
        new Province(federationUSA, "AZ", "Arizona", "Arizona"));
View Full Code Here

        personneJDoe).size());
  }

  public void testSaveAvecNouvellePersonne() throws Exception
  {
    Federation federation = getFederationService().findByCode("FRA");
    Personne personne = new Personne("Morane", "Bob", "783 De la rue",
        "Boport", "H1J 3T7", "997-5454", new GregorianCalendar(1970, 0,
            1).getTime(), "H", null, federation, federation);
    final Inscription inscription = new Inscription();
    inscription.setPersonne(personne);
View Full Code Here

TOP

Related Classes of org.xrace.model.Federation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.