Package org.xrace.model

Examples of org.xrace.model.Discipline


    String code = split[0];
    String sexe = split[1];
    String codeDiscipline = split[2];

    Discipline discipline = disciplineService.findByNom(codeDiscipline);

    if (discipline == null)
    {
      throw new CategorieException("La discipline dans le "
          + "code complet de catégorie " + codeComplet
View Full Code Here


  Categorie categorieHardtail;

  @Override
  protected void onSetUpInTransaction() throws Exception
  {
    final Discipline disciplineXc = getDisciplineService().findByNom("XC");
    saison2007 = getSaisonService().findByAnnee(2007).get(0);

    evenement = getEvenementService().getEvenementParNo(saison2007, 10);
    course = getCourseService().getCourseParNom(evenement, "Cross-Country");
View Full Code Here

    getRabaisEvenementService().save(rabaisEvenement);
  }

  public void testSaveValidateCategorie()
  {
    final Discipline disciplineDh = getDisciplineService().findByNom("DH");
    final Categorie categorieDse = getCategorieService().findByCode(
        "Hardtail", "U", disciplineDh);

    final RabaisEvenement rabaisEvenement = getRabaisEvenementService()
        .createRabaisEvenement(evenementSansRabais);
View Full Code Here

        .get(0);
    personneNCote = getPersonneService().findByNomPrenomExact("Côté",
        "Nathalie").get(0);
    personneOKnussen = getPersonneService().findByNomPrenomExact("Knussen",
        "Olaf").get(0);
    Discipline disciplineXc = getDisciplineService().findByNom("XC");
    Discipline disciplineDh = getDisciplineService().findByNom("DH");

    categorieXjsH = getCategorieService().findByCode("XJS", "H",
        disciplineXc);
    categorieDjsH = getCategorieService().findByCode("DJS", "H",
        disciplineDh);
View Full Code Here

  private Saison saison2007;

  @Override
  protected void onSetUpInTransaction() throws Exception
  {
    final Discipline disciplineXc = getDisciplineService().findByNom("XC");
    final Discipline disciplineDh = getDisciplineService().findByNom("DH");
    personneJDeere = getPersonneService().findByNomPrenomExact("Deere",
        "John").get(0);
    personneJDoe = getPersonneService().findByNomPrenomExact("Doe", "John")
        .get(0);
    categorieXse = getCategorieService().findByCode("XSE", "H",
View Full Code Here

    final Course courseXC2 = getCourseService().getCourseParNom(evenement2,
        "Cross-Country");
    final Course courseDH2 = getCourseService().getCourseParNom(evenement2,
        "Downhill");

    final Discipline disciplineXC = getDisciplineService().findByNom("XC");
    final Discipline disciplineDH = getDisciplineService().findByNom("DH");

    final Categorie categorieXseH = getCategorieService().findByCode("XSE",
        "H", disciplineXC);
    final Categorie categorieDssH = getCategorieService().findByCode("DSS",
        "H", disciplineDH);
View Full Code Here

    final Course courseXC1 = getCourseService().getCourseParNom(evenement1,
        "Cross-Country");
    final Course courseXC2 = getCourseService().getCourseParNom(evenement2,
        "Cross-Country");

    final Discipline disciplineXC = getDisciplineService().findByNom("XC");

    final Categorie categorieXseH = getCategorieService().findByCode("XSE",
        "H", disciplineXC);

    final Personne personneJDoe = getPersonneService()
View Full Code Here

TOP

Related Classes of org.xrace.model.Discipline

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.