Class AggregateWithDynamicGraph<T extends ai.stapi.identity.UniqueIdentifier>

java.lang.Object
ai.stapi.axonsystem.graphaggregate.AggregateWithGraph
ai.stapi.axonsystem.graphaggregate.AggregateWithDynamicGraph<T>
Direct Known Subclasses:
DynamicAggregate

public abstract class AggregateWithDynamicGraph<T extends ai.stapi.identity.UniqueIdentifier> extends AggregateWithGraph
  • Field Details

    • identity

      protected T extends ai.stapi.identity.UniqueIdentifier identity
    • version

      protected long version
    • commandProcessor

      protected ai.stapi.graphsystem.dynamiccommandprocessor.DynamicCommandProcessor commandProcessor
  • Constructor Details

    • AggregateWithDynamicGraph

      protected AggregateWithDynamicGraph()
    • AggregateWithDynamicGraph

      protected AggregateWithDynamicGraph(ai.stapi.graphsystem.dynamiccommandprocessor.DynamicCommandProcessor commandProcessor)
  • Method Details

    • processCommandDynamically

      protected void processCommandDynamically(ai.stapi.graphsystem.messaging.command.AbstractCommand<T> command)
    • processCommandDynamically

      protected void processCommandDynamically(ai.stapi.graphsystem.messaging.command.AbstractCommand<T> command, ai.stapi.graphoperations.objectGraphMapper.model.MissingFieldResolvingStrategy missingFieldResolvingStrategy)
    • onAggregateCreated

      protected void onAggregateCreated(ai.stapi.graphsystem.messaging.event.AggregateGraphUpdatedEvent<T> event)
    • getIdentity

      public T getIdentity()
    • getVersion

      public long getVersion()