Package com.ibs.academic.models

Examples of com.ibs.academic.models.StudentCourse


        //Agregar StudentCourse
        DAOStudent daoStudent =  DAOStudent.getInstance();
        Student student = daoStudent.get(transactionItem.getIdStudent().getId());
        List<StudentCourse> studentCourses = student.getStudentCourses();
        StudentCourse e = new StudentCourse();
        e.setCourse(courseItem);
        e.setStatus("active");
            if(studentCourses != null){

            if (studentCourses.size() > 0){
                for (int i = 0; i < studentCourses.size(); i++) {
                    studentCourses.get(i).setStatus("inactive");
View Full Code Here


        Course course = new Course();
        if (student.getStudentCourses() != null){

            for (int i = 0; i < student.getStudentCourses().size(); i++) {
                StudentCourse studentCourse =  student.getStudentCourses().get(i);
                if(studentCourse.getStatus().equalsIgnoreCase("active")){
                    course = studentCourse.getCourse();
                }

            }
        }
View Full Code Here

TOP

Related Classes of com.ibs.academic.models.StudentCourse

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.