Class ProfileTypeDTOMapper
java.lang.Object
org.openhab.core.thing.profiles.dto.ProfileTypeDTOMapper
The
ProfileTypeDTOMapper
is a utility class to map profile-types into profile-type data transfer
objects (DTOs).- Author:
- Stefan Triller - Initial contribution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileTypeDTO
map
(ProfileType profileType) Maps profile type into stripped profile type data transfer object.
-
Constructor Details
-
ProfileTypeDTOMapper
public ProfileTypeDTOMapper()
-
-
Method Details
-
map
Maps profile type into stripped profile type data transfer object.- Parameters:
profileType
- the profile type to be mapped- Returns:
- the profile type DTO object
-