Uses of Class
MySTARS.CourseStatus
-
Uses of CourseStatus in MySTARS
Fields in MySTARS declared as CourseStatus Modifier and Type Field Description private CourseStatusCourse. courseStatusStatus of a the course in relation to a student (eg.Methods in MySTARS that return CourseStatus Modifier and Type Method Description CourseStatusStudent. addCourse(java.lang.String courseCode, java.lang.String courseIndex)Adds a course to theStudent's timetable.CourseStatusCourse. getStatus()Return the CourseStatus of a Student's enrollment in the Course.CourseStatusStudent. planCourse(Course course, CourseIndex courseIndex)AddsCourses to the Student's plan.static CourseStatusCourseStatus. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CourseStatus[]CourseStatus. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in MySTARS with parameters of type CourseStatus Modifier and Type Method Description Course[]Student. getCourses(CourseStatus courseStatus)Returns a list of the student's courses, based on the desired course status.CourseIndex[]Student. getIndices(CourseStatus courseStatus)Returns a list of the student's course indices, based on the desired course status.static voidCourseManager. printCourseList(CourseStatus status)Prints a list of courses based on theCourseStatusfromDatabase.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.voidCourse. setStatus(CourseStatus courseStatus)Set the CourseStatus of a Student's enrollment in the Course.CourseCourse. simpleCopy(CourseStatus status, CourseIndex courseIndex)Make a simple copy of the course to be stored under theStudentobject.Constructors in MySTARS with parameters of type CourseStatus Constructor Description Course(java.lang.String courseCode, java.lang.String courseName, AU acadUnits, java.lang.String description, java.lang.String school, CourseStatus courseStatus)Constructor for course object, to be created with a description, school and course status.Course(java.lang.String courseCode, java.lang.String courseName, AU acadUnits, java.lang.String description, java.lang.String school, CourseStatus courseStatus, CourseIndex courseIndex)Constructor for course object, creates course with description, school, course status, and an initial course index.