Class StrippedThingTypeDTOMapper


  • @NonNullByDefault
    public class StrippedThingTypeDTOMapper
    extends Object
    The StrippedThingTypeDTOMapper is an utility class to map things into stripped thing type data transfer objects (DTOs).
    Author:
    Miki Jankov - Initial contribution
    • Constructor Detail

      • StrippedThingTypeDTOMapper

        public StrippedThingTypeDTOMapper()
    • Method Detail

      • map

        public static StrippedThingTypeDTO map​(ThingType thingType,
                                               Locale locale)
        Maps thing type into stripped thing type data transfer object.
        Parameters:
        thingType - the thing type to be mapped
        Returns:
        the stripped thing type DTO object