Package | Description |
---|---|
org.seedstack.business.assembler |
Provides classes, interfaces and annotations to map the domain layer to Data Transfer Objects
(DTO) and back.
|
org.seedstack.business.modelmapper |
Modifier and Type | Class and Description |
---|---|
class |
BaseAssembler<A extends AggregateRoot<?>,D>
An helper base class that can be extended to create an assembler between an aggregate and a DTO.
|
class |
BaseTupleAssembler<T extends org.javatuples.Tuple,D>
An helper base class that can be extended to create an assembler between a tuple of aggregates
and a DTO.
|
Modifier and Type | Method and Description |
---|---|
<A extends AggregateRoot<?>,D> |
AssemblerRegistry.getAssembler(Class<A> aggregateRootClass,
Class<D> dtoClass)
Returns the Assembler matching the given aggregate root class and the dto class.
|
<A extends AggregateRoot<?>,D> |
AssemblerRegistry.getAssembler(Class<A> aggregateRootClass,
Class<D> dtoClass,
Annotation qualifier)
Returns the Assembler matching the given aggregate root class and the dto class for the
specified qualifier.
|
<A extends AggregateRoot<?>,D> |
AssemblerRegistry.getAssembler(Class<A> aggregateRootClass,
Class<D> dtoClass,
Class<? extends Annotation> qualifier)
Returns the Assembler matching the given aggregate root class and the dto class for the
specified qualifier.
|
<T extends org.javatuples.Tuple,D> |
AssemblerRegistry.getTupleAssembler(Class<? extends AggregateRoot<?>>[] aggregateRootClasses,
Class<D> dtoClass)
Returns the Assembler matching the given list of aggregate root classes and the dto class.
|
<T extends org.javatuples.Tuple,D> |
AssemblerRegistry.getTupleAssembler(Class<? extends AggregateRoot<?>>[] aggregateRootClasses,
Class<D> dtoClass,
Annotation qualifier)
Returns the Assembler matching the given list of aggregate root classes and the dto class for
the specified qualifier.
|
<T extends org.javatuples.Tuple,D> |
AssemblerRegistry.getTupleAssembler(Class<? extends AggregateRoot<?>>[] aggregateRootClasses,
Class<D> dtoClass,
Class<? extends Annotation> qualifier)
Returns the Assembler matching the given list of aggregate root classes and the dto class for
the specified qualifier.
|
Modifier and Type | Class and Description |
---|---|
class |
ModelMapperAssembler<A extends AggregateRoot<?>,D>
This class can be extended to declare an assembler that is able to automatically map an aggregate to a DTO and back.
|
class |
ModelMapperTupleAssembler<T extends org.javatuples.Tuple,D>
This class can be extended to declare an assembler that is able to automatically map a tuple of aggregates to a DTO
and back.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.