Class Staff


public class Staff extends Account
The type Staff.
  • Constructor Details

    • Staff

      public Staff(String name, String username, String password)
      Instantiates a new Staff.
      Parameters:
      name - the name
      username - the username
      password - the password
  • Method Details

    • getUsername

      public String getUsername()
      Gets username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets username.
      Parameters:
      username - the username
    • getPassword

      public String getPassword()
      Gets password.
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Sets password.
      Parameters:
      password - the password
    • toString

      public String toString()
      Overrides:
      toString in class Object