Package entity
Class Manager
java.lang.Object
entity.AbstractEmployee
entity.Employee
entity.Manager
- All Implemented Interfaces:
Person
Represents a manager in the banking system.
Inherits from Employee with manager-specific logic.
- Author:
- TAMIL MUGHILAN
-
Nested Class Summary
Nested classes/interfaces inherited from class entity.Employee
Employee.Builder
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if manager can override transaction limits.toString()
Methods inherited from class entity.Employee
getBranchId
Methods inherited from class entity.AbstractEmployee
canApproveTransactions, getEmail, getId, getName, getPassword, getRole, setEmail, setId, setName, setPassword, setRole
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface entity.Person
isValidEmail, isValidName
-
Constructor Details
-
Manager
Constructs a Manager with required details.- Parameters:
id
- manager IDname
- manager nameemail
- manager emailbranchId
- manager's branch IDpassword
- manager's password
-
-
Method Details