Uses of Class
MySTARS.CourseIndex
-
Uses of CourseIndex in MySTARS
Fields in MySTARS with type parameters of type CourseIndex Modifier and Type Field Description private java.util.HashMap<java.lang.String,CourseIndex>Course. courseIndicesHashmap of all available indices in the course.Methods in MySTARS that return CourseIndex Modifier and Type Method Description CourseIndexCourse. getIndex(java.lang.String courseIndex)Returns a CourseIndex object by taking the index number as a parameter.CourseIndex[]Course. getIndices()Returns an array of all indices registered under the Course.CourseIndex[]Student. getIndices(CourseStatus courseStatus)Returns a list of the student's course indices, based on the desired course status.CourseIndexCourse. removeIndex(java.lang.String courseIndex)Directly removes a particularCourseIndexto the current Course.CourseIndexStudent. removeIndex(java.lang.String courseCode, java.lang.String courseIndex)Directly removes aCourseIndexfrom aCoursein the courses Hashmap.CourseIndexCourseIndex. simpleCopy()Creates a simple copy of this course index, with same parameters except for 0 vacancies.Methods in MySTARS with parameters of type CourseIndex Modifier and Type Method Description booleanStudent. addCourseFromWaitlist(CourseIndex courseIndex)Registers the student from waitlist.voidCourse. addIndex(CourseIndex courseIndex)Directly adds a particularCourseIndexto the current Course.CourseStatusStudent. planCourse(Course course, CourseIndex courseIndex)AddsCourses to the Student's plan.static voidCourseManager. printLesson(CourseIndex index)Prints a list ofLessonfor a givenCourseIndex.static voidCourseManager. printStudentListByIndex(CourseIndex courseIndex, boolean sorted)Prints a list of students in a givenCourseIndex.voidStudent. setIndex(java.lang.String courseCode, CourseIndex courseIndex)Directly Adds aCourseIndexto aCoursein the courses Hashmap.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 CourseIndex Constructor Description 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.