Uses of Class
dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.modern.AggregateState
Packages that use AggregateState
-
Uses of AggregateState in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.modern
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.modern with type parameters of type AggregateStateModifier and TypeInterfaceDescriptioninterfaceWithState<ID,EVENT_TYPE, AGGREGATE_TYPE extends AggregateRoot<ID, EVENT_TYPE, AGGREGATE_TYPE>, AGGREGATE_STATE extends AggregateState<ID, EVENT_TYPE, AGGREGATE_TYPE>> Marker interface that indicates that all state and allEventHandlerannotated methods will be hosted with theAggregateStateobject.Methods in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.modern with type parameters of type AggregateStateModifier and TypeMethodDescriptionprotected <STATE extends AggregateState<ID,EVENT_TYPE, AGGREGATE_TYPE>>
STATEAggregateRoot.state()If the aggregate implementsWithStatethen you can call this method to access the state object
This method requires that the return type information is available at compile time:protected <STATE extends AggregateState<ID,EVENT_TYPE, AGGREGATE_TYPE>>
STATEVariant of theAggregateRoot.state()where the concrete State type is specified in the argument
If the aggregate implementsWithStatethen you can call this method to access the state object