Package net.sf.esims.model.entity

Examples of net.sf.esims.model.entity.AcademicYear


  }
 
  public List<ReceivedApplicationForm> getByAcademicYear(Long id){
    if(id == null)
      throw new IllegalArgumentException("The id of academic year was found null @ ReceivedApplicationFormService:getByAcademicYear");
    AcademicYear academicYear = this.academicYearDAO.get(id);
    return this.receivedApplicationFormDAO.getByAcademicYear(academicYear);
  }
View Full Code Here


    Date endDate = EsimsUtils.createDate(15, Calendar.MARCH, 2006);
    SchoolEssence schoolEssence = UtilsForTestCases.createValidSchoolEssence();
    School school = schoolEssence.createSchool();

    schoolDAO.save(school);
    AcademicYear academicYear = new AcademicYear("2005-2006", school,
        startDate, endDate, "active");
    academicYearDAO.save(academicYear);

    Standard standard = new Standard("1st standard", academicYear);
    standardDAO.save(standard);
View Full Code Here

    Date endDate = EsimsUtils.createDate(15, Calendar.MARCH, 2006);
    SchoolEssence schoolEssence = UtilsForTestCases.createValidSchoolEssence();
    School school = schoolEssence.createSchool();

    schoolDAO.save(school);
    AcademicYear academicYear = new AcademicYear("2005-2006", school,
        startDate, endDate, "active");
    academicYearDAO.save(academicYear);

    Standard standard = new Standard("1st standard", academicYear);
    standardDAO.save(standard);
View Full Code Here

    Date endDate = EsimsUtils.createDate(15, Calendar.MARCH, 2006);
    SchoolEssence schoolEssence = UtilsForTestCases.createValidSchoolEssence();
    School school = schoolEssence.createSchool();

    schoolDAO.save(school);
    AcademicYear academicYear = new AcademicYear("2005-2006", school,
        startDate, endDate, "active");
    academicYearDAO.save(academicYear);

    Standard standard = new Standard("1st standard", academicYear);
    standardDAO.save(standard);
View Full Code Here

    Date endDate = EsimsUtils.createDate(15, Calendar.MARCH, 2006);
    SchoolEssence schoolEssence = UtilsForTestCases.createValidSchoolEssence();
    School school = schoolEssence.createSchool();

    schoolDAO.save(school);
    AcademicYear academicYear = new AcademicYear("2005-2006", school,
        startDate, endDate, "active");
    academicYearDAO.save(academicYear);

    Standard standard = new Standard("1st standard", academicYear);
    standardDAO.save(standard);
View Full Code Here

   
    SchoolEssence essence = UtilsForTestCases.createValidSchoolEssence();
    School school = essence.createSchool();
    this.schoolDAO.save(school);
   
    AcademicYear academicYear = new AcademicYear("2007-2008",school,startDate1,endDate1,"active");
    academicYearDAO.save(academicYear);
    List<IndividualExam> listOfIndExams = new ArrayList<IndividualExam>();
    listOfIndExams.add(UtilsForTestCases.createValidIndExam());
   
    Standard standard = new Standard("5th standard",academicYear);
View Full Code Here

    SchoolEssence essence = UtilsForTestCases.createValidSchoolEssence();
    School school = essence.createSchool();
    this.schoolDAO.save(school);
   
    AcademicYear academicYear = new AcademicYear("2007-2008",school,startDate1,endDate1,"active");
    academicYearDAO.save(academicYear);   
    Standard standard = new Standard("5th standard",academicYear);
    standardDAO.save(standard);
   
    List<IndividualExam> listOfIndExams = new ArrayList<IndividualExam>();
View Full Code Here

    SchoolEssence essence = UtilsForTestCases.createValidSchoolEssence();
    School school = essence.createSchool();
    this.schoolDAO.save(school);
   
    AcademicYear academicYear = new AcademicYear("2007-2008",school,startDate1,endDate1,"active");
    academicYearDAO.save(academicYear);
    Standard standard = new Standard("5th standard",academicYear);
    standardDAO.save(standard);
    List<IndividualExam> listOfIndExams = new ArrayList<IndividualExam>();
    listOfIndExams.add(UtilsForTestCases.createValidIndExam());
View Full Code Here

    Date endDate = EsimsUtils.createDate(15, Calendar.MARCH, 2006);
    SchoolEssence schoolEssence = UtilsForTestCases
        .createValidSchoolEssence();
    School school = schoolEssence.createSchool();
    schoolDAO.save(school);
    AcademicYear academicYear = new AcademicYear("2005-2006", school,
        startDate, endDate, "active");
    academicYearDAO.save(academicYear);

    Standard standard = new Standard("1st standard", academicYear);
    standardDAO.save(standard);
View Full Code Here

    SchoolEssence schoolEssence = UtilsForTestCases
        .createValidSchoolEssence();
    School school = schoolEssence.createSchool();
    this.schoolDAO.save(school);

    AcademicYear academicYear = new AcademicYear("2005-2006", school,
        startDate, endDate, "active");
    academicYearDAO.save(academicYear);

    Standard standard = new Standard("1st standard", academicYear);
    Set<Standard> setOfStds = new HashSet<Standard>();
    setOfStds.add(standard);
    academicYear.setStandards(setOfStds);
    standardDAO.save(standard);

    List<Standard> listOfStds = standardDAO
        .getByStandardName("1st standard");
    assertEquals(1, listOfStds.size());
View Full Code Here

TOP

Related Classes of net.sf.esims.model.entity.AcademicYear

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.