Package org.openhab.core.thing.dto
Class ChannelDTOMapper
java.lang.Object
org.openhab.core.thing.dto.ChannelDTOMapper
The 
ChannelDTOMapper is a utility class to map channels into channel data transfer objects (DTOs).- Author:
- Stefan Bußweiler - Initial contribution, Kai Kreuzer - added DTO to channel mapping
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ChannelDTOMaps channel into channel DTO object.static Channelmap(ChannelDTO channelDTO) Maps channel DTO into channel object.
- 
Constructor Details- 
ChannelDTOMapperpublic ChannelDTOMapper()
 
- 
- 
Method Details- 
mapMaps channel into channel DTO object.- Parameters:
- channel- the channel
- Returns:
- the channel DTO object
 
- 
mapMaps channel DTO into channel object.- Parameters:
- channelDTO- the channel DTO
- Returns:
- the channel object
 
 
-