se.citerus.dddsample.domain.shared
Interface DomainEvent<T>

All Known Implementing Classes:
HandlingEvent

public interface DomainEvent<T>

A domain event is something that is unique, but does not have a lifecycle. The identity may be explicit, for example the sequence number of a payment, or it could be derived from various aspects of the event such as where, when and what has happened.


Method Summary
 boolean sameEventAs(T other)
           
 

Method Detail

sameEventAs

boolean sameEventAs(T other)
Parameters:
other - The other domain event.
Returns:
true if the given domain event and this event are regarded as being the same event.


Copyright © 2009. All Rights Reserved.