Uses of Class
dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.modern.AggregateState
-
Packages that use AggregateState Package Description dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.modern -
-
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 AggregateState Modifier and Type Interface Description interfaceWithState<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 AggregateState Modifier and Type Method Description protected <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>>
STATEAggregateRoot. state(Class<STATE> stateClass)Variant 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
-