Class DelegatingAggregateRoot<T,A extends AggregateRoot<T>>
java.lang.Object
io.fluxcapacitor.javaclient.modeling.DelegatingAggregateRoot<T,A>
- All Implemented Interfaces:
AggregateRoot<T>,Entity<AggregateRoot<T>,T>
- Direct Known Subclasses:
ModifiableAggregateRoot,ReadOnlyAggregateRoot
public abstract class DelegatingAggregateRoot<T,A extends AggregateRoot<T>>
extends Object
implements AggregateRoot<T>
-
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.AggregateRoot
AGGREGATE_ID_METADATA_KEY, AGGREGATE_TYPE_METADATA_KEY, 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.AggregateRoot
associations, dissociations, makeReadOnly, parent, playBackToCondition, playBackToEvent, relationships, updateMethods inherited from interface io.fluxcapacitor.javaclient.modeling.Entity
allEntities, apply, apply, apply, apply, apply, assertAndApply, assertAndApply, assertLegal, assertThat, ensure, getEntity, possibleTargets, root
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingAggregateRoot
-
-
Method Details
-
id
-
type
-
get
-
idProperty
- Specified by:
idPropertyin interfaceEntity<T,A extends AggregateRoot<T>>
-
lastEventId
- Specified by:
lastEventIdin interfaceAggregateRoot<T>
-
lastEventIndex
- Specified by:
lastEventIndexin interfaceAggregateRoot<T>
-
timestamp
- Specified by:
timestampin interfaceAggregateRoot<T>
-
sequenceNumber
public long sequenceNumber()- Specified by:
sequenceNumberin interfaceAggregateRoot<T>
-
previous
- Specified by:
previousin interfaceAggregateRoot<T>
-
entities
-