From 79e4061fafc3a81182b64488f6450e12d505bb9b Mon Sep 17 00:00:00 2001 From: fdai7600 Date: Tue, 6 Feb 2024 19:00:55 +0100 Subject: [PATCH] Added Setter for Professor role --- src/main/java/org/example/Professor.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/example/Professor.java b/src/main/java/org/example/Professor.java index c1dd274..793873e 100644 --- a/src/main/java/org/example/Professor.java +++ b/src/main/java/org/example/Professor.java @@ -33,4 +33,8 @@ public class Professor { public String getRole() { return role; } + + public void setRole(String role) { + this.role = role; + } }