Package net.sf.esims.model.entity

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


  /**
   *
   * @return valid instance of division , NO ID is assigned
   */
  public static Division createValidDivision(){
    return new Division("A",createValidStandard(),"paplubhai",new Integer(50),new Integer(20),new Date());
  }
View Full Code Here


        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    //testing delete
    this.divisionService.delete(division);
   
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    Long id = division.getId();
   
    assertTrue(this.divisionService.getStandardsForActiveAcademicYear().size()>0);
   
    assertTrue(this.divisionService.getAllStandards(academicYear).size()>0);
   
View Full Code Here

    Student student = (Student) this.getContext().getAttributeFromSession(
        "student");
    StudentDetails studentDetails = student.getStudentDetails();

    Standard standard = this.standardService.getById(this.standardId);
    Division division = this.divisionService
        .getDivisionById(this.divisionId);
    student.setStandard(standard);
    student.setDivision(division);

    studentDetails.setAcademicAchievements(this.academicAchievements);
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    StudentDetails studentDetails = UtilsForTestCases.createStudentDetailsForTest();
    Date dateOfAdmission = new Date();
    Student student = new Student("123","345",standard,dateOfAdmission,studentDetails);
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    StudentDetails studentDetails = UtilsForTestCases.createStudentDetailsForTest();
    Date dateOfAdmission = new Date();
    Student student = new Student("123","345",standard,dateOfAdmission,studentDetails);
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    StudentDetails studentDetails = UtilsForTestCases.createStudentDetailsForTest();
    Date dateOfAdmission = new Date();
    Student student = new Student("123","345",standard,dateOfAdmission,studentDetails);
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    StudentDetails studentDetails = UtilsForTestCases.createStudentDetailsForTest();
    Date dateOfAdmission = new Date();
    Student student = new Student("123","345",standard,dateOfAdmission,studentDetails);
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    StudentDetails studentDetails = UtilsForTestCases.createStudentDetailsForTest();
    Date dateOfAdmission = new Date();
    Student student = new Student("123","345",standard,dateOfAdmission,studentDetails);
View Full Code Here

        d2, "active");
    academicYearService.saveAcademicYear(academicYear);
    Standard standard = new Standard("5th standard", academicYear);
    this.standardService.save(standard);
   
    Division division = new Division("A",standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    this.divisionService.save(division);
   
    StudentDetails studentDetails = UtilsForTestCases.createStudentDetailsForTest();
    Date dateOfAdmission = new Date();
    Student student = new Student("123","345",standard,dateOfAdmission,studentDetails);
View Full Code Here

TOP

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

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.