/
FCITstudent.java
121 lines (111 loc) · 2.22 KB
/
FCITstudent.java
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
class FCITstudent {
private String firstName;
private String lastName;
private int id;
private int enterTime;
private int timeForReg;
private int numClasses;
private FCITcourse[] courses;
private int laptopSerialNumber;
private FCITstudent next;
FCITstudent(){
}
FCITstudent(int enterTime, String firstName, String lastName,int id,
int numClasses) {
this.setFirstName(firstName);
this.setLastName(lastName);
this.setEnterTime(enterTime);
this.id = id;
this.setnumClasses(numClasses);
}
private void setnumClasses(int numClasses) {
// TODO Auto-generated method stub
this.numClasses=numClasses;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
/**
* @return the lastName
*/
public String getLastName() {
return lastName;
}
/**
* @param lastName
* the lastName to set
*/
public void setLastName(String lastName) {
this.lastName = lastName;
}
/**
* @return the next
*/
public FCITstudent getNext() {
return next;
}
/**
* @param next
* the next to set
*/
public void setNext(FCITstudent next) {
this.next = next;
}
/**
* @return the enterTime
*/
public int getEnterTime() {
return enterTime;
}
/**
* @param enterTime the enterTime to set
*/
public void setEnterTime(int enterTime) {
this.enterTime = enterTime;
}
/**
* @return the laptopSerialNumber
*/
public int getLaptopSerialNumber() {
return laptopSerialNumber;
}
/**
* @param laptopSerialNumber the laptopSerialNumber to set
*/
public void setLaptopSerialNumber(int laptopSerialNumber) {
this.laptopSerialNumber = laptopSerialNumber;
}
/**
* @return the numAnswered
*/
/**
* @param numAnswered the numAnswered to set
*/
/**
* @return the numClasses
*/
public int getnumClasses() {
return numClasses;
}
/**
* @param numClasses the numClasses to set
*/
public void decrementnumClasses(int numClasses) {
this.numClasses = --numClasses;
}
/**
* @return the timeForReg
*/
public int getTimeForReg() {
return timeForReg;
}
/**
* @param timeForReg the timeForReg to set
*/
public void setTimeForReg(int timeForReg) {
this.timeForReg = timeForReg;
}
}