Uses of Class
MySTARS.CourseStatus
-
Uses of CourseStatus in MySTARS
Fields in MySTARS declared as CourseStatus Modifier and Type Field Description private CourseStatus
Course. courseStatus
Status of a the course in relation to a student (eg.Methods in MySTARS that return CourseStatus Modifier and Type Method Description CourseStatus
Student. addCourse(java.lang.String courseCode, java.lang.String courseIndex)
Adds a course to theStudent
's timetable.CourseStatus
Course. getStatus()
Return the CourseStatus of a Student's enrollment in the Course.CourseStatus
Student. planCourse(Course course, CourseIndex courseIndex)
AddsCourse
s to the Student's plan.static CourseStatus
CourseStatus. 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 void
CourseManager. printCourseList(CourseStatus status)
Prints a list of courses based on theCourseStatus
fromDatabase
.static void
CourseManager. printCourseList(CourseStatus status, Student student)
Prints a list of courses based on theCourseStatus
from aStudent
's courses.protected static void
PrintTimeTableView. printInformation(CourseStatus courseStatus, Student currentUser)
Displays all the relevant information for courses that are of a particularCourseStatus
for aStudent
.void
Course. setStatus(CourseStatus courseStatus)
Set the CourseStatus of a Student's enrollment in the Course.Course
Course. simpleCopy(CourseStatus status, CourseIndex courseIndex)
Make a simple copy of the course to be stored under theStudent
object.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.