Package io.fluxzero.sdk.modeling
package io.fluxzero.sdk.modeling
-
ClassDescriptionMarks a class as the root of an aggregate in the domain model.Controls when aggregate changes are committed and whether multiple commits in the same completion phase may run concurrently.Controls how events published from an aggregate are assigned to a message segment.Represents the root of an aggregate in a domain model.Annotation used on properties of an entity value that provide an alternative identifier to find the entity.A single child entity replacement within an
AnnotatedEntityHolder.Represents an event that has been applied to an aggregate along with its intended publication strategy.Annotation to mark methods or fields that assert whether a command or query is legal, given the current state of an aggregate.A batching wrapper forHandlerRepositorythat delays persistence operations until the end of the current message batch.TheDefaultEntityHelperprovides the default implementation of theEntityHelperinterface.Decorates aDeserializingMessagewith an associated entity.Wraps a message and its corresponding entity for use in interception or handler invocation.Default implementation ofHandlerRepository, backed by aDocumentStore.A base implementation ofEntitythat forwards all method calls to a delegatedEntityinstance.Entity<T>Represents an entity that encapsulates domain behavior and state.Strategy interface for handling domain entity operations such as applying updates, validating state transitions, and intercepting updates.Marks a property (field or getter) as the unique identifier of an entity within an aggregate structure.Resolves handler method parameters that reference anEntityor the entity's value.Marker for handler-selection contexts where anEntityparameter should only be matched from message metadata.Controls whether an applied update should result in event publication.Strategy for controlling how applied updates (typically from@Applymethods) are handled in terms of event storage, event publication, and aggregate state updates.Repository interface for storing and retrieving@Statefulhandler instances.Represents an object, typically a message used for invocation, that has an associatedEntity.Id<T>Object that represents the identifier of a specific entity.Immutable representation of anAggregateRoot, extendingImmutableEntitywith additional metadata for event sourcing.Immutable implementation of theEntityinterface, representing a snapshot of a domain entity.A lazily-loaded implementation ofAggregateRootthat defers deserialization and event application until the entity value is explicitly accessed.Indicates that the annotated field or getter represents a nested entity or collection of entities within an aggregate or stateful handler.A mutable, statefulAggregateRootimplementation that allows in-place updates and applies events with commit support for persisting the state and synchronizing it with the Fluxzero Runtime.A mutable view on a nested entity within aModifiableAggregateRoot.NoOpEntity<T>A read-only, inertEntitywrapper used exclusively during the loading phase of aggregate state.Represents configuration options extracted from the@Searchableannotation on a domain type.A functional, non-persistentEntitywrapper that enables safe state mutation and validation without producing side effects such as event publication or snapshot creation.