Class EnrichedItemChannelLinkDTOMapper
java.lang.Object
org.openhab.core.io.rest.core.link.EnrichedItemChannelLinkDTOMapper
The
EnrichedItemChannelLinkDTOMapper
is a utility class to map item channel links into enriched item channel
link data transform objects (DTOs).- Author:
- Christoph Weitkamp - Initial contribution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnrichedItemChannelLinkDTO
map
(ItemChannelLink link, boolean editable) Maps an item channel link into an enriched item channel link DTO object.
-
Constructor Details
-
EnrichedItemChannelLinkDTOMapper
public EnrichedItemChannelLinkDTOMapper()
-
-
Method Details
-
map
Maps an item channel link into an enriched item channel link DTO object.- Parameters:
link
- the item channel link- Returns:
- item channel link DTO object
-