org.axonframework.quickstart.annotated
Class ToDoItem

java.lang.Object
  extended by org.axonframework.domain.AbstractAggregateRoot<I>
      extended by org.axonframework.eventsourcing.AbstractEventSourcedAggregateRoot<I>
          extended by org.axonframework.eventsourcing.annotation.AbstractAnnotatedAggregateRoot
              extended by org.axonframework.quickstart.annotated.ToDoItem
All Implemented Interfaces:
Serializable, AggregateRoot, EventSourcedAggregateRoot

public class ToDoItem
extends AbstractAnnotatedAggregateRoot

Author:
Jettro Coenradie
See Also:
Serialized Form

Constructor Summary
ToDoItem()
           
ToDoItem(CreateToDoItemCommand command)
           
 
Method Summary
 void markCompleted(MarkCompletedCommand command)
           
 void on(ToDoItemCreatedEvent event)
           
 
Methods inherited from class org.axonframework.eventsourcing.annotation.AbstractAnnotatedAggregateRoot
createParameterResolverFactory, getChildEntities, getIdentifier, handle, registerParameterResolverFactory
 
Methods inherited from class org.axonframework.eventsourcing.AbstractEventSourcedAggregateRoot
apply, apply, commitEvents, getVersion, initializeState, isLive
 
Methods inherited from class org.axonframework.domain.AbstractAggregateRoot
addEventRegistrationCallback, getLastCommittedEventSequenceNumber, getUncommittedEventCount, getUncommittedEvents, initializeEventStream, isDeleted, markDeleted, registerEvent, registerEvent, registerEventMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.axonframework.domain.AggregateRoot
addEventRegistrationCallback, getUncommittedEventCount, getUncommittedEvents, isDeleted
 

Constructor Detail

ToDoItem

public ToDoItem()

ToDoItem

@CommandHandler
public ToDoItem(CreateToDoItemCommand command)
Method Detail

markCompleted

@CommandHandler
public void markCompleted(MarkCompletedCommand command)

on

@EventSourcingHandler
public void on(ToDoItemCreatedEvent event)


Copyright © 2010-2016. All Rights Reserved.