Class ProfileTypeDTOMapper

java.lang.Object
org.openhab.core.thing.profiles.dto.ProfileTypeDTOMapper

@NonNullByDefault public class ProfileTypeDTOMapper extends Object
The ProfileTypeDTOMapper is a utility class to map profile-types into profile-type data transfer objects (DTOs).
Author:
Stefan Triller - Initial contribution
  • Constructor Details

    • ProfileTypeDTOMapper

      public ProfileTypeDTOMapper()
  • Method Details

    • map

      public static ProfileTypeDTO map(ProfileType profileType)
      Maps profile type into stripped profile type data transfer object.
      Parameters:
      profileType - the profile type to be mapped
      Returns:
      the profile type DTO object