Package src.model
Class CinemaStaff
Object
CinemaStaff
- All Implemented Interfaces:
Serializable
The class that handles the data of Cinema Staff
- Version:
- 1.0
- Author:
- Jonathan Ng
- See Also:
-
Constructor Summary
ConstructorDescriptionCinemaStaff
(String UUID, String name, String password, String username) Constructor for the Cinema Staff class -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the cinema staffGets the password of the cinema staff accountGets the username of the cinema staff accountgetUUID()
Gets the unique ID of the cinema staffvoid
Sets the name of the cinema staffvoid
setPassword
(String password) Sets the password of the cinema staff accountvoid
setUsername
(String username) sets the username of the cinema staff accountvoid
Sets the unique UUID of the cinema staff
-
Constructor Details
-
CinemaStaff
Constructor for the Cinema Staff class- Parameters:
UUID
- is the unique ID in the databasename
- is the name of the cinema staffpassword
- is the password of the cinema staff's account used during loginusername
- is the username of the cinema staff's account used during login
-
-
Method Details
-
getUUID
Gets the unique ID of the cinema staff- Returns:
- Unique ID of the cinema staff
-
setUUID
Sets the unique UUID of the cinema staff- Parameters:
UUID
- is the unique ID to be set
-
getName
Gets the name of the cinema staff- Returns:
- Name of the cinema staff
-
getPassword
Gets the password of the cinema staff account- Returns:
- Password of the cinema staff account
-
getUsername
Gets the username of the cinema staff account- Returns:
- Username of the cinema staff account
-
setName
Sets the name of the cinema staff- Parameters:
name
- is the name of the cinema staff
-
setPassword
Sets the password of the cinema staff account- Parameters:
password
- is the password of the cinema staff account
-
setUsername
sets the username of the cinema staff account- Parameters:
username
- is the username of the cinema staff account
-