T - the tuple of aggregates type.D - the dto type.public abstract class BaseTupleAssembler<T extends org.javatuples.Tuple,D> extends Object implements Assembler<T,D>
| Modifier | Constructor and Description |
|---|---|
|
BaseTupleAssembler()
Creates an assembler with automatic resolution of its DTO class.
|
protected |
BaseTupleAssembler(Class<D> dtoClass)
Creates an assembler with the DTO class explicitly specified.
|
| Modifier and Type | Method and Description |
|---|---|
D |
createDto()
This method is responsible for creating a new DTO instance during the assembling task.
|
Class<D> |
getDtoClass()
The DTO class the assemblers works on.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDtoFromAggregate, mergeAggregateIntoDto, mergeDtoIntoAggregatepublic BaseTupleAssembler()
public Class<D> getDtoClass()
AssemblergetDtoClass in interface Assembler<T extends org.javatuples.Tuple,D>public D createDto()
AssemblercreateDto in interface Assembler<T extends org.javatuples.Tuple,D>Assembler.createDtoFromAggregate(Object)Copyright © 2013-2018–2019 SeedStack. All rights reserved.