Class StrippedThingTypeDTOMapper

java.lang.Object
org.openhab.core.thing.dto.StrippedThingTypeDTOMapper

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

    • StrippedThingTypeDTOMapper

      public StrippedThingTypeDTOMapper()
  • Method Details

    • 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