Class NoOpEntity<T>
java.lang.Object
io.fluxcapacitor.javaclient.modeling.NoOpEntity<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 -
Method Summary
Modifier and TypeMethodDescriptionCollection<?>aliases()<E extends Exception>
NoOpEntity<T>assertLegal(Object command) <E extends Exception>
NoOpEntity<T>assertThat(Entity.Validator<T, E> validator) <E extends Exception>
NoOpEntity<T>Collection<? extends Entity<?>>entities()get()id()Entity<?>parent()previous()type()update(UnaryOperator<T> function) Methods 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, assertAndApply, associations, dissociations, getEntity, ifPresent, isEmpty, isPresent, isRoot, lastEventId, lastEventIndex, makeReadOnly, mapIfPresent, playBackToCondition, playBackToEvent, possibleTargets, relationships, root, rootAnnotation, sequenceNumber, timestamp
-
Method Details
-
apply
-
update
-
assertLegal
- Specified by:
assertLegalin interfaceEntity<T>- Throws:
E extends Exception
-
assertThat
- Specified by:
assertThatin interfaceEntity<T>- Throws:
E extends Exception
-
ensure
-
parent
-
aliases
-
entities
-
previous
-
id
-
type
-
get
-
idProperty
- Specified by:
idPropertyin interfaceEntity<T>
-