Class Specialization

java.lang.Object
com.ehealthsystem.doctor.specialization.Specialization

public class Specialization extends Object
represents the specializations of a doctor
  • Field Details

    • specializationList

      ArrayList<String> specializationList
      list of all specializations a doctor can have
  • Constructor Details

    • Specialization

      public Specialization() throws SQLException
      constructor which calls the set method for the loading information from the db
      Throws:
      SQLException
  • Method Details

    • setSpecializationList

      public void setSpecializationList() throws SQLException
      load the specializations from the database
      Throws:
      SQLException
    • getSpecializationList

      public ArrayList<String> getSpecializationList()
      get the specializations of a doctor returned
      Returns:
      the list of specializations