Class BaseCommand<T>
java.lang.Object
com.brodygaudel.bank.common.command.BaseCommand<T>
- Type Parameters:
- T- The type of the target aggregate identifier.
- Direct Known Subclasses:
- ActiveAccountCommand,- CreateAccountCommand,- CreateCustomerCommand,- CreditAccountCommand,- DebitAccountCommand,- DeleteCustomerCommand,- SuspendAccountCommand,- UpdateCustomerCommand
Base class for representing commands with a target aggregate identifier.
 
This class provides a generic structure for commands with a target aggregate identifier. It includes a getter method for retrieving the identifier and a constructor to initialize the identifier during command creation.
- 
Constructor SummaryConstructorsConstructorDescriptionBaseCommand(T id) Constructs a new instance of BaseCommand with the specified target aggregate identifier.
- 
Method Summary
- 
Constructor Details- 
BaseCommandConstructs a new instance of BaseCommand with the specified target aggregate identifier.- Parameters:
- id- The target aggregate identifier for the command.
 
 
-