Uses of Class
MySTARS.Student
-
Uses of Student in MySTARS
Fields in MySTARS with type parameters of type Student Modifier and Type Field Description private java.util.HashMap<java.lang.String,Student>CourseIndex. enrolledStudentsHashmap of currently enrolled students.private java.util.HashMap<java.lang.String,Student>CourseIndex. waitlistedStudentsHashmap of currently waitlisted students.Methods in MySTARS that return Student Modifier and Type Method Description protected StudentCourseIndex. removeStudent(java.lang.String username)Directly removes aStudentfrom the CourseIndex.StudentStudent. simpleCopy()Creates a copy of this student object with minimal information.private StudentSwapIndexView. verifySecondUser(java.lang.String courseCode)For swapping index with a peer, this method checks if peer is a valid user that is registered for the relevant course.Methods in MySTARS that return types with arguments of type Student Modifier and Type Method Description java.util.ArrayList<Student>CourseIndex. getStudents()Returns an array of students currently enrolled in the index.java.util.ArrayList<Student>CourseIndex. getWaitlistStudents()Return an array ofStudents that are on Waitlist.Methods in MySTARS with parameters of type Student Modifier and Type Method Description protected voidCourseIndex. addStudent(Student student)Directly adds aStudentto the CourseIndex and bypasses all checks.voidCourseIndex. addToWaitlist(Student student)Add student to the index waitlist.intStudent. compareTo(Student o)Compares this student with the specified student for order.voidCourseIndex. enrollStudent(Student student)Enrolls a specified student object into the index.static voidCourseManager. printCourseList(CourseStatus status, Student student)Prints a list of courses based on theCourseStatusfrom aStudent's courses.protected static voidPrintTimeTableView. printInformation(CourseStatus courseStatus, Student currentUser)Displays all the relevant information for courses that are of a particularCourseStatusfor aStudent.static voidHelper. sendMailNotification(Student receipient, java.lang.String course)A method that sends an email from the Administrative Gmail Account to the user if their course has been registered.voidCourseIndex. unenrollStudent(Student student)Removes student from the enrolled register.