Class AssignmentDetails

java.lang.Object
com.gophers.structures.domain.AssignmentDetails

public class AssignmentDetails extends Object
Represents details of an assignment including the student's details and the assignment grade.
  • Constructor Details

    • AssignmentDetails

      public AssignmentDetails(StudentDetails studentDetails, AssignmentGrade assignmentGrade)
      Constructor to initialize the student's details and the assignment grade.
      Parameters:
      studentDetails - Details of the student.
      assignmentGrade - Grade details of the assignment.
  • Method Details

    • toPDFData

      public Map<String,String> toPDFData()
      Converts the assignment details into a map format suitable for PDF generation.
      Returns:
      A map containing the PDF data for the assignment details.
    • toString

      public String toString()
      Provides a string representation of the assignment details.
      Overrides:
      toString in class Object
      Returns:
      A string containing student and grade details.