Class ModifiableEntity<T>
java.lang.Object
io.fluxcapacitor.javaclient.modeling.DelegatingEntity<T>
io.fluxcapacitor.javaclient.modeling.ModifiableEntity<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 class io.fluxcapacitor.javaclient.modeling.DelegatingEntity
delegateFields 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 TypeMethodDescriptionassertAndApply(Object payloadOrMessage) assertLegal(Object command) Collection<? extends Entity<?>>entities()Entity<?>parent()previous()update(UnaryOperator<T> function) Methods inherited from class io.fluxcapacitor.javaclient.modeling.DelegatingEntity
aliases, get, id, idProperty, lastEventId, lastEventIndex, sequenceNumber, timestamp, 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
allEntities, ancestorValue, apply, apply, apply, apply, assertAndApply, assertAndApply, assertAndApply, assertThat, associations, dissociations, ensure, getEntity, ifPresent, isEmpty, isPresent, isRoot, makeReadOnly, mapIfPresent, playBackToCondition, playBackToEvent, possibleTargets, relationships, root, rootAnnotation
-
Constructor Details
-
ModifiableEntity
-
-
Method Details
-
assertLegal
- Throws:
E extends Exception
-
update
-
apply
-
assertAndApply
-
entities
-
parent
-
previous
-