Package bank.app.account
Class DoRemoveAccount
Remove a this account from the bank. The menu closes.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute()Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.Methods inherited from class pt.tecnico.uilib.menus.Command
addBooleanField, addIntegerField, addRealField, addStringField, booleanField, integerField, isLast, isValid, performCommand, realField, stringField, title
-
Constructor Details
-
DoRemoveAccount
- Parameters:
receiver- the target account.bank- the bank the account belongs to.
-
-
Method Details
-
execute
Description copied from class:CommandExecutes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.- Specified by:
executein classCommand<Account>- Throws:
CommandException- if something wrong or unexpected occurs.- See Also:
pt.tecnico.po.ui.Command#execute()
-