0% found this document useful (0 votes)
3 views2 pages

Plantuml Code

The document defines a UML class diagram for a university management system, including classes for User, Student, Professor, Course, Grades, Complaint, and Administrator. Each class has attributes and methods that outline their functionalities, such as managing courses, handling complaints, and tracking academic progress. Relationships between classes are also illustrated, indicating how they interact with one another.

Uploaded by

raime2508
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Plantuml Code

The document defines a UML class diagram for a university management system, including classes for User, Student, Professor, Course, Grades, Complaint, and Administrator. Each class has attributes and methods that outline their functionalities, such as managing courses, handling complaints, and tracking academic progress. Relationships between classes are also illustrated, indicating how they interact with one another.

Uploaded by

raime2508
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

@startuml

' Class Definitions


class User {
-String email
-String password
+User(String, String)
+String getEmail()
+String getPassword()
+void displayRole()
}

class Student {
-String studentID
-List<Course> enrolledCourses
-List<Complaint> complaints
-List<Grades> grades
-int semester
-String email
-String password
+Student(String, String, String, int)
+String getEmail()
+String getPassword()
+void setEmail(String)
+void setPassword(String)
+int getSemester()
+void setSemester(int)
+String getStudentID()
+List<Course> getEnrolledCourses()
+void setEnrolledCourses(List<Course>)
+void addGrade(Grades)
+double calculateSGPA()
+void viewAvailableCourses(List<Course>)
+void registerForCourse(Course)
+void dropCourse(Course)
+void viewSchedule()
+void viewGrades()
+void submitComplaint(String)
+void trackAcademicProgress()
}

class Professor {
-String professorID
-Course course
-String email
-String password
+Professor(String, String, Course, String)
+String getEmail()
+String getPassword()
+void manageCourses()
+void viewEnrolledStudents(Course)
+void assignGrade(Student, String)
+void updateCourseDetails(Course, String, String, int, List<String>, int,
String)
}

class Course {
-String courseID
-String courseName
-String syllabus
-String schedule
-int credits
-List<String> prerequisites
-int semester
-int enrollmentLimit
-List<Student> enrolledStudents
+String getCourseID()
+String getCourseName()
+String getSyllabus()
+void setSyllabus(String)
+String getSchedule()
+void setSchedule(String)
+void setCredits(int)
+void setEnrollmentLimit(int)
+void setTimings(String)
+void setOfficeHours(String)
}

class Grades {
-Student student
-Course course
-String grade
-int gradeValue
+Grades(Student, Course, String, int)
+Student getStudent()
+Course getCourse()
+String getGrade()
+int getGradeValue()
}

class Complaint {
-String description
-Student student
-boolean resolved
+Complaint(String, Student)
+String getDescription()
+boolean isResolved()
+void resolve()
}

class Administrator {
+void handleComplaints(List<Complaint>)
+void updateStudentRecord(Student, String, String, int)
+void updateStudentGrades(Student, List<Grades>)
+void assignProfessorsToCourses(List<Professor>, List<Course>)
}

' Relationships
User <|-- Student
User <|-- Professor
Course --> Student
Course --> Professor
Course --> Grades
Student --> Complaint
Professor --> Grades

@enduml

You might also like