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