public interface AssemblerRegistry
Modifier and Type | Method and Description |
---|---|
<A extends AggregateRoot<?>,D> |
getAssembler(Class<A> aggregateRootClass,
Class<D> dtoClass)
Returns the Assembler matching the given aggregate root class and the dto class.
|
<A extends AggregateRoot<?>,D> |
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> |
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> |
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> |
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> |
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.
|
<A extends AggregateRoot<?>,D> Assembler<A,D> getAssembler(Class<A> aggregateRootClass, Class<D> dtoClass)
A
- the type of the aggregate root.D
- the type of the DTO.aggregateRootClass
- the aggregate root class.dtoClass
- the dto class.<A extends AggregateRoot<?>,D> Assembler<A,D> getAssembler(Class<A> aggregateRootClass, Class<D> dtoClass, @Nullable Annotation qualifier)
A
- the type of the aggregate root.D
- the type of the DTO.aggregateRootClass
- the aggregate root class.dtoClass
- the dto class.qualifier
- the assembler qualifier.<A extends AggregateRoot<?>,D> Assembler<A,D> getAssembler(Class<A> aggregateRootClass, Class<D> dtoClass, @Nullable Class<? extends Annotation> qualifier)
A
- the type of the aggregate root.D
- the type of the DTO.aggregateRootClass
- the aggregate root class.dtoClass
- the dto class.qualifier
- the assembler qualifier.<T extends org.javatuples.Tuple,D> Assembler<T,D> getTupleAssembler(Class<? extends AggregateRoot<?>>[] aggregateRootClasses, Class<D> dtoClass)
T
- the type of the tuple.D
- the type of the DTO.aggregateRootClasses
- an array of aggregate root classes.dtoClass
- the dto class.<T extends org.javatuples.Tuple,D> Assembler<T,D> getTupleAssembler(Class<? extends AggregateRoot<?>>[] aggregateRootClasses, Class<D> dtoClass, @Nullable Annotation qualifier)
T
- the type of the tuple.D
- the type of the DTO.aggregateRootClasses
- an array of aggregate root classes.dtoClass
- the dto class.qualifier
- the assembler qualifier.<T extends org.javatuples.Tuple,D> Assembler<T,D> getTupleAssembler(Class<? extends AggregateRoot<?>>[] aggregateRootClasses, Class<D> dtoClass, @Nullable Class<? extends Annotation> qualifier)
T
- the type of the tuple.D
- the type of the DTO.aggregateRootClasses
- an array of aggregate root classes.dtoClass
- the dto class.qualifier
- the assembler qualifier.Copyright © 2013-2018–2019 SeedStack. All rights reserved.