Class DoCreateSavingsAccount

java.lang.Object
pt.tecnico.uilib.menus.Command<Account>
bank.app.account.DoCreateSavingsAccount

public class DoCreateSavingsAccount extends Command<Account>
Command for creating savings accounts.
  • Constructor Details

    • DoCreateSavingsAccount

      public DoCreateSavingsAccount(Account receiver)
      Parameters:
      receiver -
  • Method Details

    • execute

      protected final void execute() throws CommandException
      Description copied from class: Command
      Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.
      Specified by:
      execute in class Command<Account>
      Throws:
      CommandException - if something wrong or unexpected occurs.
      See Also:
      pt.tecnico.po.uiS.Command#execute()