Class DelegatingEntity<T>
java.lang.Object
io.fluxcapacitor.javaclient.modeling.DelegatingEntity<T>
- All Implemented Interfaces:
Entity<T>
- Direct Known Subclasses:
ModifiableAggregateRoot,ModifiableEntity,ReadOnlyEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluxcapacitor.javaclient.modeling.Entity
Entity.Validator<T,E extends Exception> -
Field Summary
FieldsFields 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
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, apply, assertAndApply, assertAndApply, assertAndApply, assertAndApply, assertLegal, assertThat, associations, dissociations, ensure, getEntity, ifPresent, isEmpty, isPresent, isRoot, makeReadOnly, mapIfPresent, playBackToCondition, playBackToEvent, possibleTargets, relationships, root, rootAnnotation, update
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingEntity
-
-
Method Details
-
id
-
aliases
-
type
-
get
-
idProperty
- Specified by:
idPropertyin interfaceEntity<T>
-
lastEventId
- Specified by:
lastEventIdin interfaceEntity<T>
-
lastEventIndex
- Specified by:
lastEventIndexin interfaceEntity<T>
-
timestamp
-
sequenceNumber
public long sequenceNumber()- Specified by:
sequenceNumberin interfaceEntity<T>
-
previous
-
entities
-
parent
-