Class EnrichedItemChannelLinkDTOMapper

java.lang.Object
org.openhab.core.io.rest.core.link.EnrichedItemChannelLinkDTOMapper

@NonNullByDefault public class EnrichedItemChannelLinkDTOMapper extends Object
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 Details

    • EnrichedItemChannelLinkDTOMapper

      public EnrichedItemChannelLinkDTOMapper()
  • Method Details

    • map

      public static EnrichedItemChannelLinkDTO map(ItemChannelLink link, boolean editable)
      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