Index
All Classes and Interfaces|All Packages
S
- setCategory(Category) - Method in class org.codewithmagret.rest.course.Course
-
Sets the category to which the course belongs.
- setCategoryId(Long) - Method in class org.codewithmagret.rest.course.CourseCreateRequest
-
Sets the ID of the category to which the course belongs.
- setCategoryId(Long) - Method in class org.codewithmagret.rest.report.dto.CoursesByCategory
-
Setters for the fields of CoursesByCategory.
- setCategoryName(String) - Method in class org.codewithmagret.rest.report.dto.CoursesByCategory
-
Setters for the fields of CoursesByCategory.
- setCode(String) - Method in class org.codewithmagret.rest.course.Course
-
Sets the unique code of the course.
- setCode(String) - Method in class org.codewithmagret.rest.course.CourseCreateRequest
-
Sets the unique code of the course to be created.
- setCode(String) - Method in class org.codewithmagret.rest.report.dto.InstructorByCourse
-
Setters for the fields of InstructorByCourse.
- setCode(String) - Method in class org.codewithmagret.rest.report.dto.SimpleCourse
-
Setters for code
- setCourseId(Long) - Method in class org.codewithmagret.rest.report.dto.InstructorByCourse
-
Setters for the fields of InstructorByCourse.
- setCourseId(Long) - Method in class org.codewithmagret.rest.report.dto.SimpleCourse
-
Setters for courseId
- setCourses(List) - Method in class org.codewithmagret.rest.category.Category
-
Sets the list of courses that belong to this category.
- setCourses(List) - Method in class org.codewithmagret.rest.instructor.Instructor
-
Sets the list of courses taught by this instructor.
- setCourses(List) - Method in class org.codewithmagret.rest.student.Student
-
Sets the list of courses the student is enrolled in.
- setCourses(List) - Method in class org.codewithmagret.rest.report.dto.CoursesByCategory
-
Setters for the fields of CoursesByCategory.
- setCourses(List) - Method in class org.codewithmagret.rest.report.dto.CoursesByStudent
-
Setters for the fields of CoursesByStudent.
- setEmail(String) - Method in class org.codewithmagret.rest.instructor.Instructor
-
Sets the email address of the instructor.
- setEmail(String) - Method in class org.codewithmagret.rest.report.dto.SimpleInstructor
-
Setters for the fields of SimpleInstructor.
- setFirstName(String) - Method in class org.codewithmagret.rest.instructor.Instructor
-
Sets the first name of the instructor.
- setFirstName(String) - Method in class org.codewithmagret.rest.report.dto.CoursesByStudent
-
Setters for the fields of CoursesByStudent.
- setFirstName(String) - Method in class org.codewithmagret.rest.report.dto.InstructorsByStudent
-
Set the first name of the student.
- setFirstName(String) - Method in class org.codewithmagret.rest.report.dto.SimpleInstructor
-
Setters for the fields of SimpleInstructor.
- setFirstName(String) - Method in class org.codewithmagret.rest.student.Student
-
Sets the first name of the student.
- setId(Long) - Method in class org.codewithmagret.rest.category.Category
-
Sets the unique identifier of the category.
- setId(Long) - Method in class org.codewithmagret.rest.course.Course
-
Sets the unique identifier of the course.
- setId(Long) - Method in class org.codewithmagret.rest.instructor.Instructor
-
Sets the unique identifier of the instructor.
- setId(Long) - Method in class org.codewithmagret.rest.student.Student
-
Sets the unique identifier of the student.
- setInstructor(Instructor) - Method in class org.codewithmagret.rest.course.Course
-
Sets the instructor teaching the course.
- setInstructor(SimpleInstructor) - Method in class org.codewithmagret.rest.report.dto.InstructorByCourse
-
Setters for the fields of InstructorByCourse.
- setInstructorId(Long) - Method in class org.codewithmagret.rest.course.CourseCreateRequest
-
Sets the ID of the instructor teaching the course.
- setInstructorId(Long) - Method in class org.codewithmagret.rest.report.dto.SimpleInstructor
-
Setters for the fields of SimpleInstructor.
- setInstructors(List) - Method in class org.codewithmagret.rest.report.dto.InstructorsByStudent
-
Set the list of instructors associated with the student.
- setLastName(String) - Method in class org.codewithmagret.rest.instructor.Instructor
-
Sets the last name of the instructor.
- setLastName(String) - Method in class org.codewithmagret.rest.report.dto.CoursesByStudent
-
Setters for the fields of CoursesByStudent.
- setLastName(String) - Method in class org.codewithmagret.rest.report.dto.InstructorsByStudent
-
Set the last name of the student.
- setLastName(String) - Method in class org.codewithmagret.rest.report.dto.SimpleInstructor
-
Setters for the fields of SimpleInstructor.
- setLastName(String) - Method in class org.codewithmagret.rest.student.Student
-
Sets the last name of the student.
- setName(String) - Method in class org.codewithmagret.rest.category.Category
-
Sets the name of the category.
- setStudentId(Long) - Method in class org.codewithmagret.rest.report.dto.CoursesByStudent
-
Setters for the fields of CoursesByStudent.
- setStudentId(Long) - Method in class org.codewithmagret.rest.report.dto.InstructorsByStudent
-
Set the student ID.
- setStudents(List) - Method in class org.codewithmagret.rest.course.Course
-
Sets the list of students enrolled in the course.
- setTitle(String) - Method in class org.codewithmagret.rest.course.Course
-
Sets the title of the course.
- setTitle(String) - Method in class org.codewithmagret.rest.course.CourseCreateRequest
-
Sets the title of the course to be created.
- setTitle(String) - Method in class org.codewithmagret.rest.report.dto.InstructorByCourse
-
Setters for the fields of InstructorByCourse.
- setTitle(String) - Method in class org.codewithmagret.rest.report.dto.SimpleCourse
-
Setters for title
- SimpleCourse - Class in org.codewithmagret.rest.report.dto
-
A simple DTO for course information, used in the StudentCourseDTO to avoid circular references.
- SimpleCourse() - Constructor for class org.codewithmagret.rest.report.dto.SimpleCourse
-
Default constructor for SimpleCourse.
- SimpleCourse(Long, String, String) - Constructor for class org.codewithmagret.rest.report.dto.SimpleCourse
-
Parameterized constructor for SimpleCourse.
- SimpleInstructor - Class in org.codewithmagret.rest.report.dto
-
DTO for representing a simple instructor in reports.
- SimpleInstructor() - Constructor for class org.codewithmagret.rest.report.dto.SimpleInstructor
-
Default constructor for SimpleInstructor.
- SimpleInstructor(Long, String, String, String) - Constructor for class org.codewithmagret.rest.report.dto.SimpleInstructor
-
Parameterized constructor for SimpleInstructor.
- Student - Class in org.codewithmagret.rest.student
-
Represents a student entity in the system.
- Student() - Constructor for class org.codewithmagret.rest.student.Student
-
Default constructor required by JPA.
- Student(String, String) - Constructor for class org.codewithmagret.rest.student.Student
-
Constructs a new Student with the specified first name and last name.
- StudentController - Class in org.codewithmagret.rest.student
-
REST controller for managing students and their course enrollments.
- StudentController() - Constructor for class org.codewithmagret.rest.student.StudentController
-
Default constructor for StudentController.
- StudentRepository - Interface in org.codewithmagret.rest.student
-
Repository interface for Student entities, providing CRUD operations.
- StudentService - Class in org.codewithmagret.rest.student
-
Service class for handling business logic related to Student entities.
- StudentService() - Constructor for class org.codewithmagret.rest.student.StudentService
-
Default constructor for StudentService.
All Classes and Interfaces|All Packages