Class DoChangeName


public class DoChangeName extends Command<Client>
Command for changing an account holder's name.
  • Constructor Details

    • DoChangeName

      public DoChangeName(Client 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<Client>
      Throws:
      CommandException - if something wrong or unexpected occurs.
      See Also:
      pt.tecnico.po.ui.Command#execute()