Class Administrator
java.lang.Object
edu.ntnu.idatt1002.g106.handballapp.finalprod.backend.User
edu.ntnu.idatt1002.g106.handballapp.finalprod.backend.Administrator
This is a class that creates an administrator
- Author:
- Gruppe 6
-
Constructor Summary
ConstructorsConstructorDescriptionAdministrator
(User user) This constructor allows for an Administrator object to be initialized with the necessary information to define an admin and their privileges. -
Method Summary
Methods inherited from class edu.ntnu.idatt1002.g106.handballapp.finalprod.backend.User
changePassword, generateSalt, getEmail, getFirstName, getLastName, getPassword, getSalt, getTournamentRegister, hashPassword, setEmail, setFirstName, setLastName, setPassword
-
Constructor Details
-
Administrator
This constructor allows for an Administrator object to be initialized with the necessary information to define an admin and their privileges.- Parameters:
user
- User to be added, with info included
-