Class SortResponseDTO
- java.lang.Object
-
- pl.put.poznan.transformer.rest.dto.SortResponseDTO
-
public class SortResponseDTO extends Object
Data Transfer Object containing the response from the application.
-
-
Constructor Summary
Constructors Constructor Description SortResponseDTO()Constructor for making an emptySortResponseDTOobject.SortResponseDTO(List<SortResultDTO> results)Constructor for making a readySortResponseDTOobject ready to be sent to the client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SortResultDTO>getResults()voidsetResults(List<SortResultDTO> results)
-
-
-
Constructor Detail
-
SortResponseDTO
public SortResponseDTO()
Constructor for making an emptySortResponseDTOobject.
-
SortResponseDTO
public SortResponseDTO(List<SortResultDTO> results)
Constructor for making a readySortResponseDTOobject ready to be sent to the client.- Parameters:
results- aListofSortResponseDTOobject containing results of performed tests.
-
-
Method Detail
-
getResults
public List<SortResultDTO> getResults()
-
setResults
public void setResults(List<SortResultDTO> results)
-
-