-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStudent.java
More file actions
67 lines (48 loc) · 1.16 KB
/
Copy pathStudent.java
File metadata and controls
67 lines (48 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
Student.java
This class creates a student in our system
*/
class Student{
String name;
String student_Login;
String student_Password;
Int total_times_in_queue;
Int total_times_exiting_queue;
Int num_No_Shows;
Int current_Wait_Time;
Int number_In_Queue;
Student(String studentFirstName, String studentLastName, String netID, String studentLogin, String studentPassword){
name = studentFirstName + " " + studentLastName;
student_Login = netID;
student_Password = studentPassword;
total_times_in_queue = 0;
get_Total_Times_Exiting_Queue = 0;
num_No_Shows = 0;
current_Wait_Time = null;
number_In_Queue = null;
}
public String get_Student_Name(){
return name;
}
public String get_Student_Login(){
return student_Login;
}
public String get_Student_Password(){
return student_Password;
}
public Int get_Total_Times_In_queue(){
return total_times_in_queue;
}
public Int get_Total_Times_Exiting_Queue(){
return total_times_exiting_queue;
}
public Int get_Num_No_Shows(){
return num_No_Shows;
}
public Int get_Current_Wait_Time(){
return current_Wait_Time;
}
public Int get_Number_In_Queue(){
return number_In_Queue
}
}