Class HDBOfficer


public class HDBOfficer extends HDBStaff
Represents an HDB Officer in the BTO system.

HDB Officers are staff members responsible for the day-to-day operations of BTO projects. They handle customer enquiries, process applications, and manage project-specific tasks under the supervision of HDB Managers.

See Also:
  • Constructor Details

    • HDBOfficer

      public HDBOfficer(String nric, String passwordHash, String name, int age, MaritalStatus maritalStatus)
      Constructs a new HDB Officer with the specified details.
      Parameters:
      nric - The NRIC (National Registration Identity Card) number of the officer
      passwordHash - The hashed password for authentication
      name - The full name of the officer
      age - The age of the officer
      maritalStatus - The marital status of the officer
  • Method Details

    • getRole

      public UserRole getRole()
      Gets the user role of this HDB Officer.

      This implementation returns the HDB_OFFICER role, which grants the appropriate privileges for processing applications and managing assigned projects.

      Specified by:
      getRole in class User
      Returns:
      The HDB_OFFICER user role