Package main.Models

Class Project

java.lang.Object
main.Models.Project

public class Project extends Object
Provide methods to authenticate different user types
Since:
13-4-2023
  • Constructor Details

    • Project

      public Project(String projectID, String supervisorName, String supervisorEmail, String title, projectStatus_ENUM status, String studentName, String studentEmail)
      Constructor of Project class
      Parameters:
      projectID - ID of project
      supervisorName - the name of the project's supervisor
      supervisorEmail - the email of the project's supervisor
      title - the title of the project
      status - the status of the project
      studentName - the name of the project's student
      studentEmail - the email of the project's student
  • Method Details

    • getID

      public String getID()
      Method to get the ID of project
      Returns:
      the projectID
    • getTitle

      public String getTitle()
      Method to get the title of project
      Returns:
      the project's title
    • getStudentID

      public String getStudentID()
      Method to get the ID of project's student
      Returns:
      the ID of project's student
    • getStudentEmail

      public String getStudentEmail()
      Method to get the email of project's student
      Returns:
      the email of the project's student
    • getStudentName

      public String getStudentName()
      Method to get the naem of projec's student
      Returns:
      the name of the project's student
    • getSupervisorID

      public String getSupervisorID()
      Method to get the ID of project's supervisor
      Returns:
      the ID of the project's supervisor
    • getSupervisorName

      public String getSupervisorName()
      Method to get the name of project's supervisor
      Returns:
      the name of the project's supervisor
    • getSupervisorEmail

      public String getSupervisorEmail()
      Method to get the email of project's supervisor
      Returns:
      the email the project's supervisor
    • getStatus

      public projectStatus_ENUM getStatus()
      Method to get the status of project
      Returns:
      the project's status
    • setStudent

      public void setStudent(Student s)
      Method to assign the project to a student
      Parameters:
      s - student that we want to assign project to
    • setSupervisor

      public void setSupervisor(Supervisor f)
      Method to assign the project to a supervisor
      Parameters:
      f - supervisor we want to assign project to