public class CompetitionConverter extends Object
Competition into CompetitionDTO| Constructor and Description |
|---|
CompetitionConverter() |
| Modifier and Type | Method and Description |
|---|---|
static CompetitionDTO |
toCompetitionDTO(Competition competition)
Converts a
Competition into a CompetitionDTO to be used over REST API |
static List<CompetitionDTO> |
toCompetitionDTO(List<Competition> competitionList)
Converts a List of
Competition into a list of CompetitionDTO to be used over REST API |
public static List<CompetitionDTO> toCompetitionDTO(List<Competition> competitionList)
Competition into a list of CompetitionDTO to be used over REST APIcompetitionList - a List of CompetitionCompetitionDTOpublic static CompetitionDTO toCompetitionDTO(Competition competition)
Competition into a CompetitionDTO to be used over REST APIcompetition - a CompetitionCompetitionDTOCopyright © 2018. All rights reserved.