public interface Event
Each aggregate typically defines an interface that is the base interface for all of it's event classes. For example:
@EventEntity(entity="io.eventuate.example.banking.domain.Account")
public interface AccountEvent extends Event {
}
and
public class AccountDebitedEvent implements AccountEvent {
private BigDecimal amount;
private String transactionId;
...
}