Module org.fuin.ddd4j
Package org.fuin.ddd4j.ddd
package org.fuin.ddd4j.ddd
-
ClassDescriptionAbstractAggregateRoot<ID extends AggregateRootId>Base class for aggregate roots.AbstractDomainEvent<ID extends EntityId>Base class for domain events.AbstractDomainEvent.Builder<ID extends EntityId,
TYPE extends AbstractDomainEvent<ID>, BUILDER extends AbstractDomainEvent.Builder<ID, TYPE, BUILDER>> Base class for event builders.AbstractEntity<ROOT_ID extends AggregateRootId,ROOT extends AbstractAggregateRoot<ROOT_ID>, ID extends EntityId> Base class for entities.Base class for events.AbstractEvent.Builder<TYPE extends AbstractEvent,BUILDER extends AbstractEvent.Builder<TYPE, BUILDER>> Base class for event builders.An aggregate already exists when trying to create it.Specific exception data.AggregateCache<AGGREGATE>Cache for aggregates of the same type.Signals that an aggregate of a given type and identifier was deleted from the repository.Specific exception data.AggregateNoCache<AGGREGATE>Never caches anything.Signals that an aggregate of a given type and identifier was not found in the repository.Specific exception data.AggregateRoot<ID extends AggregateRootId>Dedicated entity of a group of entities (The group is called "Aggregate") that guarantees the consistency of changes being made within the group by forbidding external objects from holding direct references to its members.Identifies an aggregate within all aggregates of the same type.UUID based aggregate root identifier.Version of an aggregate.Signals a conflict between an expected and an actual version for an aggregate.Specific exception data.Converts an aggregate version into an integer and back (JAXB and JPA).Signals that the requested version for an aggregate does not exist.Specific exception data.Identifies a method in an aggregate or an entity that applies a given domain event.Human readable business (natural) key often used in documents or shown in the user interface.Method that is able to return a child entity by it's identifier.Utility methods and constants.Signals that decrypting the data failed.Specific exception data.DomainEvent<ID extends EntityId>Domain event published by an entity.The entity identifier path of a domain event should contain a defined order and type of entries.Validates that the path has a defined order and type.Signals that the encryption key identifier already exists and cannot be created a second time.Specific exception data.Signals that an entity already existed in it's parent.Specific exception data.Container for encrypted data.Service for encrypting/decryptingEncryptedDataand handling versioned secret keys.Signals that the encryption key identifier is unknown.Specific exception data.Signals that the requested version of the encryption key is unknown.Specific exception data.An object that is not defined by its attributes, but rather by a thread of continuity and its identity.Identifies an entity within all entities of the same type.JAXB and JSON converter for an entity identifier.Factory to create entity identifier.An ordered list of entity identifiers.JAXB and JPA converter for an entity identifier path.Signals that an entity was not found.Specific exception data.Identifies a type of entity within all entity types of the context.Something that happened in the system.Universal unique event identifier.JAXB and JPA converter for an entity identifier.Identifies an event type within an aggregate type.The entity identifier path should contain a defined order and type of entries.Validates that the path has a defined order and type.Integer based entity identifier.Lightweight utility class to execute a method using reflection.Repository that supports CRUD operations for an aggregate.Entity type based on a string with a maximum length of 255 characters.Technical identifier that is only used internally and never shown to a user.