Interface ModelRoot<T>
- Type Parameters:
T- the type of the underlying domain object
- All Superinterfaces:
Entity<T>, PersistedRoot<T>
- All Known Implementing Classes:
ImmutableModelRoot
Root wrapper for an independently persisted
Model revision.-
Field Summary
Fields inherited from interface Entity
AGGREGATE_ID_METADATA_KEY, AGGREGATE_SN_METADATA_KEY, AGGREGATE_TYPE_METADATA_KEY, ALREADY_EXISTS_EXCEPTION, applying, loading, NOT_FOUND_EXCEPTION -
Method Summary
Modifier and TypeMethodDescriptiondefault Map<String, DeadlineInfo> Returns the recorded deadline categories belonging to this Model revision.default longOpaque, time-derived namespace-wide state boundary at which this model revision became current.Methods inherited from interface Entity
aliases, allEntities, ancestors, ancestorValue, apply, apply, apply, apply, apply, apply, assertAndApply, assertAndApply, assertAndApply, assertAndApply, assertLegal, associations, commit, depth, dissociations, entities, filterEntity, filterPresent, findEntity, get, getEntity, getEntity, highestEventIndex, id, idProperty, ifPresent, isEmpty, isPresent, isRoot, map, mapEntity, mapIfPresent, orElse, orElseGet, orElseThrow, orElseThrow, playBackToCondition, playBackToEvent, possibleTargets, relationships, root, rootAnnotation, rootConfiguration, type, update, withTypeMethods inherited from interface PersistedRoot
lastEventId, lastEventIndex, parent, previous, sequenceNumber, timestamp, withEventIndex, withSequenceNumber
-
Method Details
-
deadlines
Returns the recorded deadline categories belonging to this Model revision. -
stateIndex
default long stateIndex()Opaque, time-derived namespace-wide state boundary at which this model revision became current. Callers may compare boundaries and decode their approximate timestamp withIndexUtils.timestampFromIndex(long), but must not assume dense adjacency.
-