See: Description
Interface | Description |
---|---|
AggregateRoot<I> |
Specialization of
Entity when acting as an aggregate root. |
DomainEvent |
A domain event is used to represent something that happened in the domain.
|
DomainEventHandler<E extends DomainEvent> |
Interface for event handlers, which handle events domain events fired by the
DomainEventPublisher . |
DomainEventPublisher |
The domain event publisher provides the ability to publish
DomainEvent instances to be
handled by DomainEventHandler implementations. |
DomainRegistry |
The domain registry provides programmatic access to domain objects.
|
Entity<I> |
An entity represent a thread of continuity and identity, going through a lifecycle, though its
attributes may change.
|
Factory<P extends Producible> |
A factory is responsible for creating a whole, internally consistent aggregate when it is too
complicated to do it in a constructor.
|
IdentityGenerator<I> |
A generator of identity for entities.
|
IdentityService |
IdentityService provides the ability to generate an identity using an
IdentityGenerator
and inject it in the specified entity. |
Producible |
Marks objects as being able to be produced by a factory.
|
Repository<A extends AggregateRoot<I>,I> |
A repository is responsible for consistently storing and retrieving a whole aggregate.
|
Repository.Option |
Marker interface for options that can be used to alter the results of some repository methods.
|
ValueObject |
A value object measures, quantifies or describes something in the domain.
|
Class | Description |
---|---|
BaseAggregateRoot<I> |
An helper base class that can be extended to create a domain aggregate root.
|
BaseDomainEvent |
An helper base class that can be extended to create a domain event.
|
BaseDomainEventHandler<E extends DomainEvent> |
An helper base class that can be extended to create a domain event handler.
|
BaseEntity<I> |
An helper base class that can be extended to create a domain entity.
|
BaseFactory<P extends Producible> |
An helper base class that can be extended to create an implementation of a
factory interface which, in turn, must extend
Factory . |
BaseRepository<A extends AggregateRoot<I>,I> |
An helper base class that can be extended to create an implementation of a
repository interface which, in turn, must extend
Repository . |
BaseValueObject |
An helper base class that can be extended to create a domain value object.
|
LimitOption |
Repository option for limiting the number of aggregates returned. |
OffsetOption |
Repository option for skipping a specified amount of aggregates. |
SortOption |
Repository option for sorting aggregates. |
SortOption.SortedAttribute |
Represents a specific sorted attribute in a
SortOption . |
Enum | Description |
---|---|
SortOption.Direction |
Sort direction associated to a sorted attribute.
|
Exception | Description |
---|---|
AggregateExistsException |
This exception is thrown when the existence of an aggregate is an error condition.
|
AggregateNotFoundException |
This exception is thrown when the absence of an aggregate is an error condition.
|
IdentityExistsException |
This exception is thrown when the existence of an identity is an error condition.
|
Annotation Type | Description |
---|---|
Create |
Marks a method which has the responsibility of creating an entity (i.e.
|
DomainAggregateRoot |
Marks a type as an aggregate root.
|
DomainEntity |
Marks a type as an entity.
|
DomainFactory |
Marks a type as a domain factory.
|
DomainPolicy |
A policy is used to encapsulate a varying business rule or process in a separate object.
|
DomainRepository |
This annotation marks repository interfaces.
|
DomainValueObject |
Marks a type as a value object.
|
Identity |
This annotation marks the field of an entity as its identity.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.