From 5f422da0793a49e92f50d92f4e31714d936c065d Mon Sep 17 00:00:00 2001 From: fdai7887 Date: Thu, 8 Feb 2024 15:49:48 +0100 Subject: [PATCH] Added getters and setters in Administration class --- src/main/java/org/example/Administration.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/main/java/org/example/Administration.java b/src/main/java/org/example/Administration.java index e9ac3ea..e3edbfb 100644 --- a/src/main/java/org/example/Administration.java +++ b/src/main/java/org/example/Administration.java @@ -14,6 +14,38 @@ public class Administration { private List courses; Scanner scanner = new Scanner(System.in); + public List getProfessors() { + return professors; + } + + public void setProfessors(List professors) { + this.professors = professors; + } + + public List getAdmins() { + return admins; + } + + public void setAdmins(List admins) { + this.admins = admins; + } + + public List getStudents() { + return students; + } + + public void setStudents(List students) { + this.students = students; + } + + public List getCourses() { + return courses; + } + + public void setCourses(List courses) { + this.courses = courses; + } + /** * Constructor */