Class BaseEvent<T>
java.lang.Object
com.brodygaudel.bank.common.event.BaseEvent<T>
- Type Parameters:
T
- The type of the identifier associated with the event.
- Direct Known Subclasses:
AccountActivatedEvent
,AccountCreatedEvent
,AccountCreditedEvent
,AccountDebitedEvent
,AccountSuspendedEvent
,CustomerCreatedEvent
,CustomerDeletedEvent
,CustomerUpdatedEvent
Base class for event objects in the application.
This class serves as the base class for all event objects. It contains a unique identifier id
associated with
the event. Subclasses can extend this class to include additional information specific to the events they represent.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BaseEvent
Constructs a new BaseEvent with the specified identifier.- Parameters:
id
- The unique identifier associated with the event.
-