Package | Description |
---|---|
org.seedstack.business.domain |
Provides classes, interfaces and annotations for building the domain layer.
|
Modifier and Type | Class and Description |
---|---|
class |
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 . |
interface |
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateRoot<I>
Specialization of
Entity when acting as an aggregate root. |
interface |
DomainEvent
A domain event is used to represent something that happened in the domain.
|
interface |
ValueObject
A value object measures, quantifies or describes something in the domain.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseAggregateRoot<I>
An helper base class that can be extended to create a domain aggregate root.
|
class |
BaseDomainEvent
An helper base class that can be extended to create a domain event.
|
class |
BaseValueObject
An helper base class that can be extended to create a domain value object.
|
Modifier and Type | Method and Description |
---|---|
<P extends Producible> |
DomainRegistry.getFactory(Class<P> producibleClass)
Get the
Factory for an aggregate root. |
<P extends Producible> |
DomainRegistry.getFactory(Class<P> producibleClass,
Class<? extends Annotation> qualifier)
Get the
Factory with a qualifier for an aggregate root. |
<P extends Producible> |
DomainRegistry.getFactory(Class<P> producibleClass,
String qualifier)
Get the
Factory with a qualifier for an aggregate root. |
<F extends Factory<P>,P extends Producible> |
DomainRegistry.getFactory(Type factoryType)
Get a
Factory from the domain. |
<F extends Factory<P>,P extends Producible> |
DomainRegistry.getFactory(Type factoryType,
Class<? extends Annotation> qualifier)
Get a
Factory from the domain. |
<F extends Factory<P>,P extends Producible> |
DomainRegistry.getFactory(Type factoryType,
String qualifier)
Get a
Factory from the domain. |
Copyright © 2013-2018–2019 SeedStack. All rights reserved.