Package net.sf.esims.model.entity

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


    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);
    standardDAO.save(standard);
View Full Code Here


    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, 2004);
    SchoolEssence schoolEssence = UtilsForTestCases.createValidSchoolEssence();
    School school = schoolEssence.createSchool();

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

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

    this.schoolDAO.save(school);
   
    Date d1 = EsimsUtils.createDate(12, Calendar.MARCH, 2007);
    Date d2 = EsimsUtils.createDate(13, Calendar.MARCH, 2008);   
   
    AcademicYear academicYear = new  AcademicYear("2006-2007",school,d1,d2,"active");
    this.academicYearDAO.save(academicYear);
   
    this.academicYearDAO.save(academicYear);
    //saving valid instance
    ReceivedApplicationFormEssence essence = createValidInstance();
View Full Code Here

    this.schoolDAO.save(school);
   
    Date d1 = EsimsUtils.createDate(12, Calendar.MARCH, 2007);
    Date d2 = EsimsUtils.createDate(13, Calendar.MARCH, 2008);   
   
    AcademicYear academicYear = new  AcademicYear("2006-2007",school,d1,d2,"active");
    this.academicYearDAO.save(academicYear);
   
    ReceivedApplicationFormEssence essence = createValidInstance();
    essence.setAcademicYear(academicYear);
    ReceivedApplicationForm form = essence.createReceivedApplicationForm();
View Full Code Here

    this.schoolDAO.save(school);
   
    Date d1 = EsimsUtils.createDate(12, Calendar.MARCH, 2007);
    Date d2 = EsimsUtils.createDate(13, Calendar.MARCH, 2008);   
   
    AcademicYear academicYear = new  AcademicYear("2006-2007",school,d1,d2,"active");
    this.academicYearDAO.save(academicYear);
   
    ReceivedApplicationFormEssence essence = createValidInstance();
    essence.setAcademicYear(academicYear);
    ReceivedApplicationForm form = essence.createReceivedApplicationForm();
View Full Code Here

    this.schoolDAO.save(school);
   
    Date d1 = EsimsUtils.createDate(12, Calendar.MARCH, 2004);
    Date d2 = EsimsUtils.createDate(13, Calendar.MARCH, 2005);   
   
    AcademicYear academicYear = new  AcademicYear("2004-2005",school,d1,d2,"active");
    this.academicYearDAO.save(academicYear);
   
    //academicYear=this.academicYearDAO.get(academicYear.getAcademicYearId());
    Date dateOfExam = EsimsUtils.createDate(12, Calendar.MARCH, 2007);
    String startTime = "9:30";
    String endTime = "11:30";
   
   
    EntranceExam entranceExam = new EntranceExam(academicYear, dateOfExam,
        academicYear.getDescription(),startTime, endTime);
       
    entranceExamDAO.save(entranceExam);
   
   
    List<EntranceExam> listOfEntranceExams = entranceExamDAO.getAll();
View Full Code Here

    this.schoolDAO.save(school);
   
    Date d1 = EsimsUtils.createDate(12, Calendar.MARCH, 2004);
    Date d2 = EsimsUtils.createDate(13, Calendar.MARCH, 2005);   
   
    AcademicYear academicYear = new  AcademicYear("2004-2005",school,d1,d2,"active");
    this.academicYearDAO.save(academicYear);
   
    Date dateOfExam = EsimsUtils.createDate(12, Calendar.MARCH, 2007);
    String startTime = "9:30";
    String endTime = "11:30";
   
   
    EntranceExam entranceExam = new EntranceExam(academicYear, dateOfExam,
        academicYear.getDescription(),startTime, endTime);
       
    entranceExamDAO.save(entranceExam);
   
   
    entranceExamDAO.delete(entranceExam);
View Full Code Here

    this.schoolDAO.save(school);
   
    Date d1 = EsimsUtils.createDate(12, Calendar.MARCH, 2004);
    Date d2 = EsimsUtils.createDate(13, Calendar.MARCH, 2005);   
   
    AcademicYear academicYear = new  AcademicYear("2004-2005",school,d1,d2,"active");
    this.academicYearDAO.save(academicYear);
    academicYearDAO.save(academicYear);
   
    Date dateOfExam = EsimsUtils.createDate(12, Calendar.MARCH, 2007);
    String startTime = "9:30";
    String endTime = "11:30";
   
   
    EntranceExam entranceExam = new EntranceExam(academicYear, dateOfExam,
        academicYear.getDescription(),startTime, endTime);
       
    entranceExamDAO.save(entranceExam);
   
    List<EntranceExam> listOfEntranceExams = entranceExamDAO.getAll();
    assertNotNull(listOfEntranceExams);
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.