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, wait
createDtoFromAggregate, mergeAggregateIntoDto, mergeDtoIntoAggregate
public BaseTupleAssembler()
public Class<D> getDtoClass()
Assembler
getDtoClass
in interface Assembler<T extends org.javatuples.Tuple,D>
public D createDto()
Assembler
createDto
in interface Assembler<T extends org.javatuples.Tuple,D>
Assembler.createDtoFromAggregate(Object)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.