Class SportMapperImpl

java.lang.Object
net.andresbustamante.yafoot.core.web.mappers.SportMapperImpl
All Implemented Interfaces:
SportMapper

@Generated(value="org.mapstruct.ap.MappingProcessor", date="2025-05-03T17:58:24+0000", comments="version: 1.5.5.Final, compiler: javac, environment: Java 17.0.2 (Oracle Corporation)") @Component public class SportMapperImpl extends Object implements SportMapper
  • Constructor Details

    • SportMapperImpl

      public SportMapperImpl()
  • Method Details

    • map

      public Sport map(Sport sport)
      Description copied from interface: SportMapper
      DTO mapping.
      Specified by:
      map in interface SportMapper
      Parameters:
      sport - Sport to map
      Returns:
      Resulting DTO
    • map

      public List<Sport> map(List<Sport> sports)
      Description copied from interface: SportMapper
      Maps a list of sport beans into a list of DTOs.
      Specified by:
      map in interface SportMapper
      Parameters:
      sports - Sport beans to map
      Returns:
      Resulting DTO list
    • map

      public SportCode map(SportEnum value)
      Description copied from interface: SportMapper
      Maps a sport value into an enumerated sport.
      Specified by:
      map in interface SportMapper
      Parameters:
      value - Sport value to map
      Returns:
      Resulting sport enum
    • map

      public SportEnum map(SportCode code)
      Description copied from interface: SportMapper
      Maps a sport code into a sport enumerated value.
      Specified by:
      map in interface SportMapper
      Parameters:
      code - Code to map
      Returns:
      Sport enum