|
@ -23,9 +23,9 @@ public class Professor { |
|
|
// Role of the professor in the system |
|
|
// Role of the professor in the system |
|
|
public String role; |
|
|
public String role; |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Default constructor. |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
private List<Course> coursesTaught= new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Professor() { |
|
|
public Professor() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -40,6 +40,8 @@ public class Professor { |
|
|
this.professorID = professorID; |
|
|
this.professorID = professorID; |
|
|
this.Name = name; |
|
|
this.Name = name; |
|
|
this.role = role; |
|
|
this.role = role; |
|
|
|
|
|
this.coursesTaught = new ArrayList<>(); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|