Package src.model

Class CinemaStaff

Object
CinemaStaff
All Implemented Interfaces:
Serializable

public class CinemaStaff extends Object implements Serializable
The class that handles the data of Cinema Staff
Version:
1.0
Author:
Jonathan Ng
See Also:
  • Constructor Details

    • CinemaStaff

      public CinemaStaff(String UUID, String name, String password, String username)
      Constructor for the Cinema Staff class
      Parameters:
      UUID - is the unique ID in the database
      name - is the name of the cinema staff
      password - is the password of the cinema staff's account used during login
      username - is the username of the cinema staff's account used during login
  • Method Details

    • getUUID

      public String getUUID()
      Gets the unique ID of the cinema staff
      Returns:
      Unique ID of the cinema staff
    • setUUID

      public void setUUID(String UUID)
      Sets the unique UUID of the cinema staff
      Parameters:
      UUID - is the unique ID to be set
    • getName

      public String getName()
      Gets the name of the cinema staff
      Returns:
      Name of the cinema staff
    • getPassword

      public String getPassword()
      Gets the password of the cinema staff account
      Returns:
      Password of the cinema staff account
    • getUsername

      public String getUsername()
      Gets the username of the cinema staff account
      Returns:
      Username of the cinema staff account
    • setName

      public void setName(String name)
      Sets the name of the cinema staff
      Parameters:
      name - is the name of the cinema staff
    • setPassword

      public void setPassword(String password)
      Sets the password of the cinema staff account
      Parameters:
      password - is the password of the cinema staff account
    • setUsername

      public void setUsername(String username)
      sets the username of the cinema staff account
      Parameters:
      username - is the username of the cinema staff account