Package net.fqsc.inscriptions.model.categories

Examples of net.fqsc.inscriptions.model.categories.Categories


    this.clubOid = clubOid;
  }

  public Categorie getCategorie()
  {
    final Categories categories = (Categories) this.getDomainModel().getEntry(
        "Categories");
    return (Categorie) categories.retrieveByOid(new Oid(this.categorieOid));
  }
View Full Code Here


  private void createTestTarifications(final Course course)
      throws ActionException
  {
    final Tarifications tarifications = course.getTarifications();
    final Categories categories = this.utils.getCategories();
    boolean isDh = false;

    double prix;

    if (course.getNom().equals("Downhill"))
    {
      isDh = true;
    }

    for (final Iterator iter = categories.iterator(); iter.hasNext();)
    {
      final Categorie categorie = (Categorie) iter.next();

      if (!categorie.getNom().equals("Hardtail"))
      {
View Full Code Here

        club, categorie);
  }

  private void createTestCategories() throws ActionException
  {
    final Categories categories = this.utils.getCategories();

    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XU13", "Pee Wee H", 10, 12, "M", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 4250, 4399,
        4250, 4259);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XU13", "Pee Wee F", 10, 12, "F", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 4600, 4699,
        4600, 4609);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XU15", "Minime H", 13, 14, "M", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 4000, 4249,
        4000, 4009);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XU15", "Minime F", 13, 14, "F", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 4500, 4599,
        4500, 4509);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XU17X", "Cadet H", 15, 16, "M", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 2000, 2199,
        2000, 2009);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XU17", "Cadet F", 15, 16, "F", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 2600, 2699,
        2600, 2609);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XJS", "Junior Sport H", 17, 18, "M", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 2200, 2299,
        2200, 2209);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XJX", "Junior Expert H", 17, 18, "M", "expert", this.utils
            .getDisciplines().getDiscipline("XC")), 400, 599, 400,
        409);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XJF", "Junior F", 17, 18, "F", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 2700, 2799,
        2700, 2709);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XSS", "Senior Sport H", 19, 29, "M", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 3000, 3249,
        3000, 3009);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XSS", "Senior Sport F", 19, 29, "F", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 2800, 2849,
        2800, 2809);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XSX", "Senior Expert H", 19, 29, "M", "expert", this.utils
            .getDisciplines().getDiscipline("XC")), 600, 799, 600,
        609);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XSX", "Senior Expert F", 19, 29, "F", "expert", this.utils
            .getDisciplines().getDiscipline("XC")), 1100, 1149,
        1100, 1109);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XSE", "Senior Elite H", 19, 29, "M", "elite", this.utils
            .getDisciplines().getDiscipline("XC")), 1, 249, 1, 9);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XSE", "Senior Elite F", 19, 29, "F", "elite", this.utils
            .getDisciplines().getDiscipline("XC")), 250, 399, 250,
        259);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMS30", "Maître Sport 30-39 H", 30, 39, "M", "sport",
        this.utils.getDisciplines().getDiscipline("XC")), 4250, 4399,
        4250, 4259);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMS30", "Maître Sport 30-39 F", 30, 39, "F", "sport",
        this.utils.getDisciplines().getDiscipline("XC")), 2850, 2899,
        2850, 2859);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMX30", "Maître Expert 30-39 H", 30, 39, "M", "expert",
        this.utils.getDisciplines().getDiscipline("XC")), 800, 999,
        800, 809);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMX30", "Maître Expert 30-39 F", 30, 39, "F", "expert",
        this.utils.getDisciplines().getDiscipline("XC")), 1150, 1199,
        1150, 1159);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMS40", "Maître Sport 40-49 H", 40, 49, "M", "sport",
        this.utils.getDisciplines().getDiscipline("XC")), 2400, 2449,
        2400, 2409);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMW40", "Maître 40+ F", 40, 99, "F", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 1300, 1349,
        1300, 1309);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMX40", "Maître Expert 40-49 H", 40, 49, "M", "expert",
        this.utils.getDisciplines().getDiscipline("XC")), 1000, 1149,
        1000, 1009);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "XMX50", "Maître 50+ H", 50, 99, "M", "sport", this.utils
            .getDisciplines().getDiscipline("XC")), 2650, 2699,
        2650, 2659);

    categories.createCategorie("Hardtail", "Hardtail", 1, 99, "I", "sport",
        this.utils.getDisciplines().getDiscipline("DH"));

    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DU17X", "Cadet H", 15, 16, "M", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 2000, 2199,
        2000, 2009);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DU17", "Cadet F", 15, 16, "F", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 2600, 2699,
        2600, 2609);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DJS", "Junior Sport H", 17, 18, "M", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 2200, 2299,
        2200, 2209);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DJX", "Junior Expert H", 17, 18, "M", "expert", this.utils
            .getDisciplines().getDiscipline("DH")), 400, 599, 400,
        409);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DJF", "Junior F", 17, 18, "F", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 2700, 2799,
        2700, 2709);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DSS", "Senior Sport H", 19, 29, "M", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 3000, 3249,
        3000, 3009);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DSS", "Senior Sport F", 19, 29, "F", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 2800, 2849,
        2800, 2809);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DSX", "Senior Expert H", 19, 29, "M", "expert", this.utils
            .getDisciplines().getDiscipline("DH")), 600, 799, 600,
        609);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DSX", "Senior Expert F", 19, 29, "F", "expert", this.utils
            .getDisciplines().getDiscipline("DH")), 1100, 1149,
        1100, 1109);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DSE", "Senior Elite H", 19, 29, "M", "elite", this.utils
            .getDisciplines().getDiscipline("DH")), 1, 249, 1, 9);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DSE", "Senior Elite F", 19, 29, "F", "elite", this.utils
            .getDisciplines().getDiscipline("DH")), 250, 399, 250,
        259);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMS30", "Maître Sport 30-39 H", 30, 39, "M", "sport",
        this.utils.getDisciplines().getDiscipline("DH")), 4250, 4399,
        4250, 4259);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMS30", "Maître Sport 30-39 F", 30, 39, "F", "sport",
        this.utils.getDisciplines().getDiscipline("DH")), 2850, 2899,
        2850, 2859);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMX30", "Maître Expert 30-39 H", 30, 39, "M", "expert",
        this.utils.getDisciplines().getDiscipline("DH")), 800, 999,
        800, 809);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMX30", "Maître Expert 30-39 F", 30, 39, "F", "expert",
        this.utils.getDisciplines().getDiscipline("DH")), 1150, 1199,
        1150, 1159);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMS40", "Maître Sport 40-49 H", 40, 49, "M", "sport",
        this.utils.getDisciplines().getDiscipline("DH")), 2400, 2449,
        2400, 2409);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMW40", "Maître 40+ F", 40, 99, "F", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 1300, 1349,
        1300, 1309);
    this.createTestCategoriesParticipantes(categories.createCategorie(
        "DMX50", "Maître 50+ H", 50, 99, "M", "sport", this.utils
            .getDisciplines().getDiscipline("DH")), 2650, 2699,
        2650, 2659);

    for (final Iterator iter = this.utils.getSaisons().getCourses()
View Full Code Here

   */
  public Categorie getCategorie()
  {
    if (this.categorie == null)
    {
      final Categories categories = (Categories) this.getDomainModel()
          .getEntry("Categories");
      this.categorie = (Categorie) categories.retrieveByOid(new Oid(
          this.categorieOid));
    }
    return this.categorie;
  }
View Full Code Here

  public void setCategorieOid(final Long categorieOid)
  {
    this.categorieOid = categorieOid;
    if (this.categorieOid != null)
    {
      final Categories categories = (Categories) this.getDomainModel()
          .getEntry("Categories");
      this.categorie = (Categorie) categories.retrieveByOid(new Oid(
          this.categorieOid));
    }
  }
View Full Code Here

    this.saison = saison;
  }

  public Categorie getCategorie()
  {
    final Categories categories = (Categories) this.getDomainModel()
        .getEntry("Categories");
    return (Categorie) categories.retrieveByOid(new Oid(this.categorieOid));
  }
View Full Code Here

  public void outputData()
  {
    final Saisons saisons = this.utils.getSaisons();
    saisons.output("Saisons");

    final Categories categories = this.utils.getCategories();
    categories.output("Categories");

    final Clubs clubs = this.utils.getClubs();
    clubs.output("Clubs");

    final Personnes personnes = this.utils.getPersonnes();
View Full Code Here

TOP

Related Classes of net.fqsc.inscriptions.model.categories.Categories

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.