Class EnrichedItemDTO
java.lang.Object
org.openhab.core.items.dto.ItemDTO
org.openhab.core.io.rest.core.item.EnrichedItemDTO
- Direct Known Subclasses:
EnrichedGroupItemDTO
This is an enriched data transfer object that is used to serialize items with dynamic data like the state, the state
description and the link.
- Author:
- Dennis Nobel - Initial contribution, Kai Kreuzer - Added metadata, Mark Herwege - Added default unit symbol
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionEnrichedItemDTO
(ItemDTO itemDTO, String link, String state, String transformedState, StateDescription stateDescription, CommandDescription commandDescription, String unitSymbol) -
Method Summary
-
Field Details
-
link
-
state
-
transformedState
-
stateDescription
-
unitSymbol
-
commandDescription
-
metadata
-
editable
-
-
Constructor Details
-
EnrichedItemDTO
public EnrichedItemDTO(ItemDTO itemDTO, String link, String state, String transformedState, StateDescription stateDescription, CommandDescription commandDescription, String unitSymbol)
-