Package model.user

Class Student

  • Direct Known Subclasses:
    Committee

    public class Student
    extends User
    This class Student represents student in the system Students have ability to register for camps.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<java.lang.String> registeredCamps
      List of registered camps
    • Constructor Summary

      Constructors 
      Constructor Description
      Student​(java.lang.String name, java.lang.String password, java.lang.String userID, java.lang.String email, Schools faculty, boolean firstLogin)
      Constructor of class Student
    • Field Detail

      • registeredCamps

        java.util.List<java.lang.String> registeredCamps
        List of registered camps
    • Constructor Detail

      • Student

        public Student​(java.lang.String name,
                       java.lang.String password,
                       java.lang.String userID,
                       java.lang.String email,
                       Schools faculty,
                       boolean firstLogin)
        Constructor of class Student
        Parameters:
        name - Name of the student.
        password - Password of the student.
        userID - User ID of the student.
        email - Email of the student.
        faculty - Faculty to which the student belongs.
        firstLogin - Flag indicating whether it's the student's first login.