public class ToDoItem extends AbstractAnnotatedAggregateRoot
Constructor and Description |
---|
ToDoItem() |
ToDoItem(CreateToDoItemCommand command) |
Modifier and Type | Method and Description |
---|---|
void |
markCompleted(MarkCompletedCommand command) |
void |
on(ToDoItemCreatedEvent event) |
createParameterResolverFactory, getChildEntities, getIdentifier, handle, registerParameterResolverFactory
apply, apply, commitEvents, getVersion, initializeState, isLive
addEventRegistrationCallback, getLastCommittedEventSequenceNumber, getUncommittedEventCount, getUncommittedEvents, initializeEventStream, isDeleted, markDeleted, registerEvent, registerEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEventRegistrationCallback, getUncommittedEventCount, getUncommittedEvents, isDeleted
public ToDoItem()
@CommandHandler public ToDoItem(CreateToDoItemCommand command)
@CommandHandler public void markCompleted(MarkCompletedCommand command)
@EventSourcingHandler public void on(ToDoItemCreatedEvent event)
Copyright © 2010-2014. All Rights Reserved.