Skip to content

Feedback Class Documentation

100levelz edited this page Nov 21, 2023 · 3 revisions

Overview

The Feedback class represents individual feedback entries containing information about a specific class, test, mark, and response. This documentation provides insights into the class structure, its fields, and the purpose of each method.

Class-Level

The Feedback class encapsulates the details of individual feedback entries, providing a structured representation for class, test, mark, and response data. Constructor

  • public Feedback(String className, String test, int mark, String response): Creates a new Feedback instance with the provided parameters, initializing the class, test, mark, and response details.

Method-Level

Methods

  • public static void setFileName(String fileName): Sets the file name associated with the feedback data.
  • public static String getFileName(): Returns the current file name associated with the feedback data.
  • public String getClassName(): Returns the class name associated with the feedback.
  • public String getTest(): Returns the name of the test or assessment.
  • public int getMark(): Returns the numerical mark received for the test.
  • public String getResponse(): Returns the written response or feedback provided.

Field-Level

Fields

  • private String className: The name of the class associated with the feedback.
  • private String test: The name of the test or assessment.
  • private int mark: The numerical mark received for the test.
  • private String response: The written response or feedback provided.
  • private static String fileName: A static field representing the file name associated with the feedback data.

Clone this wiki locally