UndoableEventSourcedEvent<S extends EventSourcedSnapshot<S, B, E> , B extends EventSourcedSnapshotBuilder<S, B, E> , E extends UndoableEventSourcedEvent<S, B, E> > class
abstract
An event that can mutate an EventSourcedModel by performing changes to an EventSourcedSnapshotBuilder both forwards and backwards.
- Inheritance
-
- Object
- EventSourcedEvent<
S, B, E> - UndoableEventSourcedEvent
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyTo(
B bdr) → void -
Perform the modifications to an
bdr
so that it contains the mutations performed by this event.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
undoTo(
B bdr) → void -
Perform the modifications to an
bdr
so that it does not contains the mutations performed by this event anymore.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited