-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathClassRoom.java
61 lines (46 loc) · 955 Bytes
/
ClassRoom.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
package dynamicTT;
public class ClassRoom {
//represents each classroom
private String roomID;
private int size;
private boolean islaboratory;
private Week week;
private String department;
public ClassRoom(String id, int i, boolean islab, String dept){
this.roomID=id;
this.setWeek(new Week());
this.setSize(i);
this.islaboratory=islab;
this.department=dept;
}
public boolean isLaboratory() {
return islaboratory;
}
public void setLaboratory(boolean laboratory) {
this.islaboratory = laboratory;
}
public String getRoomNo() {
return roomID;
}
public void setRoomNo(String roomNo) {
this.roomID = roomNo;
}
public Week getWeek() {
return week;
}
public void setWeek(Week week) {
this.week = week;
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
}