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, registerParameterResolverFactoryapply, apply, commitEvents, getVersion, initializeState, isLiveaddEventRegistrationCallback, getLastCommittedEventSequenceNumber, getUncommittedEventCount, getUncommittedEvents, initializeEventStream, isDeleted, markDeleted, registerEvent, registerEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventRegistrationCallback, getUncommittedEventCount, getUncommittedEvents, isDeletedpublic ToDoItem()
@CommandHandler public ToDoItem(CreateToDoItemCommand command)
@CommandHandler public void markCompleted(MarkCompletedCommand command)
@EventSourcingHandler public void on(ToDoItemCreatedEvent event)
Copyright © 2010-2014. All Rights Reserved.