Class Staff

java.lang.Object
app.entity.user.User
app.entity.user.Staff
All Implemented Interfaces:
ITaggedItem

public class Staff extends User
The Staff class represents a staff member user who can organize camps. It extends the User class.
  • Constructor Details

    • Staff

      public Staff(String ID, String name, String faculty)
      Constructs a Staff object with the specified ID, name, and faculty.
      Parameters:
      ID - The ID of the staff member.
      name - The name of the staff member.
      faculty - The faculty of the staff member.
    • Staff

      public Staff()
      Constructs a Staff object with default values.
  • Method Details

    • addOrganizedCamp

      public void addOrganizedCamp(Camp camp)
      Adds a camp to the list of camps organized by the staff member.
      Parameters:
      camp - The camp to be added.
    • removeOrganizedCamp

      public void removeOrganizedCamp(Camp camp)
      Removes a camp from the list of camps organized by the staff member.
      Parameters:
      camp - The camp to be removed.
    • getOrganizedCampList

      public CampList getOrganizedCampList()
      Gets the list of camps organized by the staff member.
      Returns:
      A CampList representing the organized camps.