Class AppointmentInCreation

java.lang.Object
com.ehealthsystem.appointment.AppointmentInCreation

public class AppointmentInCreation extends Object
Class for storing the creation progress of an Appointment by the user.
  • Field Details

  • Constructor Details

    • AppointmentInCreation

      public AppointmentInCreation()
  • Method Details

    • setDate

      public void setDate(LocalDate date)
      Sets the date of the appointment.
      Parameters:
      date - the date of the appointment.
    • getDate

      public LocalDate getDate()
      Returns the date of the appointment.
      Returns:
      The time as an object of the type LocalDate.
    • setTime

      public void setTime(LocalTime time)
      Sets the time of the appointment
      Parameters:
      time - the time of the appointment
    • getTime

      public LocalTime getTime()
      Returns the time of the appointment.
      Returns:
      The time as an object of the type LocalTime.
    • setHealthProblem

      public void setHealthProblem(String healthProblem)
      Sets the health problem of the user.
      Parameters:
      healthProblem - the health problem of the user as a string.
    • getHealthProblem

      public String getHealthProblem()
      Returns the healthproblem of the user.
      Returns:
      The healthproblem as a String.
    • setSpecialization

      public void setSpecialization(String specialization)
      Sets the specialization of the doctor.
      Parameters:
      specialization - the specialization of the doctor.
    • getSpecialization

      public String getSpecialization()
      Return the specialization of the doctor.
      Returns:
      The specialization as a String.
    • setDistance

      public void setDistance(double distance)
      Sets the maximum distance between doctor and user.
      Parameters:
      distance - the distance in km between doctor and user.
    • getDistance

      public double getDistance()
      Returns the saved maximum distance to a Doctor.
      Returns:
      The distance as double.
    • setHealthInformation

      public void setHealthInformation(ArrayList<HealthInformation> healthInformation)
      Sets the health information of a user.
      Parameters:
      healthInformation - the list in which the health information of a user is stored.
    • getHealthInformation

      public ArrayList<HealthInformation> getHealthInformation()
      Returns the health information of the user as a List.
      Returns:
      The health information as an Arraylist.
    • setHealthProblemChoice

      public void setHealthProblemChoice(String healthProblemChoice)
      Sets the healthproblem of the user.
      Parameters:
      healthProblemChoice - the healthproblem of the user.
    • getHealthProblemChoice

      public String getHealthProblemChoice()
      Returns the healthproblem chosen by the user.
      Returns:
      The healthproblemchoice as a String.