Skip to content

Commit

Permalink
java doc for student completed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tribby-221 committed Nov 25, 2020
1 parent c42b77d commit e86c581
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion STARS/StudentInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,30 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
* This is the UI/UX for the student menu
* there is check for invalid entries
* @author Team Stars
* @version 1.0
* @since 2020
*/
public class StudentInterface {
/**
* CourseManager for filtering list of course
*/
CourseManager courseMgmt = new CourseManager();
/**
* StudentManager for filtering list of student
*/
StudentManager studentMgmt = new StudentManager();

/**
* this funtions is to print the main menu and checks all the valid entries
* handling the calling of object functions
* @param currentStudent is an student object from login
* @param db is the database class to load all student and course
* @throws IOException is the trace for database reading exception
*/
public void StudentMenuLogic(Student currentStudent, Database db) throws IOException {
String num = "", courseIndex = "", matricNo;
Console console = System.console();
Expand Down

0 comments on commit e86c581

Please sign in to comment.