Class ImmutableAggregateRoot<T>
java.lang.Object
io.fluxcapacitor.javaclient.modeling.ImmutableEntity<T>
io.fluxcapacitor.javaclient.modeling.ImmutableAggregateRoot<T>
- All Implemented Interfaces:
Entity<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluxcapacitor.javaclient.modeling.Entity
Entity.Validator<T,E extends Exception> -
Field Summary
Fields inherited from interface io.fluxcapacitor.javaclient.modeling.Entity
AGGREGATE_ID_METADATA_KEY, AGGREGATE_SN_METADATA_KEY, AGGREGATE_TYPE_METADATA_KEY, applying, loading -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(DeserializingMessage message) static <T> ImmutableAggregateRoot<T>from(Entity<T> a, EntityHelper entityHelper, Serializer serializer) update(UnaryOperator<T> function) withEventIndex(Long index, String messageId) Methods inherited from class io.fluxcapacitor.javaclient.modeling.ImmutableEntity
apply, assertLegal, computeAliases, computeEntities, get, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.modeling.Entity
aliases, allEntities, ancestorValue, apply, apply, apply, apply, assertAndApply, assertAndApply, assertAndApply, assertAndApply, assertThat, associations, dissociations, ensure, entities, getEntity, id, idProperty, ifPresent, isEmpty, isPresent, isRoot, lastEventId, lastEventIndex, makeReadOnly, mapIfPresent, parent, playBackToCondition, playBackToEvent, possibleTargets, previous, relationships, root, rootAnnotation, sequenceNumber, timestamp
-
Constructor Details
-
ImmutableAggregateRoot
public ImmutableAggregateRoot()
-
-
Method Details
-
from
public static <T> ImmutableAggregateRoot<T> from(Entity<T> a, EntityHelper entityHelper, Serializer serializer) -
apply
-
update
-
withEventIndex
-
highestEventIndex
-