Package net.sf.esims.model.entity

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


    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);
View Full Code Here


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

    Standard standard = new Standard("1st standard", academicYear);
    standardDAO.save(standard);

    List<Standard> stdList1 = standardDAO.getByStandardName("1st standard");
    assertEquals(1, stdList1.size());
    Long id = stdList1.get(0).getStandardId();

    Standard std = standardDAO.get(id);
    assertNotNull(std);
    assertEquals(id, std.getStandardId());

    stdList1 = standardDAO.getAll();
    assertEquals(1, stdList1.size());

    stdList1 = standardDAO.getAll("name");
View Full Code Here

    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);

    Division division = new Division("A", standard,"paplubhai",new Integer(50),new Integer(20),new Date());

    divisionDAO.save(division);
View Full Code Here

    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);

    Division division = new Division("A", standard,"paplubhai",new Integer(50),new Integer(20),new Date());
    divisionDAO.save(division);
View Full Code Here

    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);

    Division division = new Division("A", standard,"paplubhai",new Integer(50),new Integer(20),new Date());

    divisionDAO.delete(division);
View Full Code Here

    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);

    Subject subject = new Subject("Maths", standard, new Boolean(true),
        "teach everything");
View Full Code Here

    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);

    Subject subject = new Subject("Maths", standard, new Boolean(true),
        "teach everything");
    subjectDAO.save(subject);
View Full Code Here

    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);

    Subject subject = new Subject("Maths", standard, new Boolean(true),
        "teach everything");
    subjectDAO.save(subject);
View Full Code Here

TOP

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

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.