Uses of Class
org.openhab.core.items.dto.ItemDTO
Packages that use ItemDTO
Package
Description
-
Uses of ItemDTO in org.openhab.core.io.rest.core.item
Subclasses of ItemDTO in org.openhab.core.io.rest.core.itemModifier and TypeClassDescriptionclass
This is an enriched data transfer object that is used to serialize group items.class
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.Constructors in org.openhab.core.io.rest.core.item with parameters of type ItemDTOModifierConstructorDescriptionEnrichedGroupItemDTO
(ItemDTO itemDTO, EnrichedItemDTO[] members, String link, String state, String transformedState, StateDescription stateDescription, String unitSymbol) EnrichedItemDTO
(ItemDTO itemDTO, String link, String state, String transformedState, StateDescription stateDescription, CommandDescription commandDescription, String unitSymbol) -
Uses of ItemDTO in org.openhab.core.items.dto
Subclasses of ItemDTO in org.openhab.core.items.dtoModifier and TypeClassDescriptionclass
This is a data transfer object that is used to serialize group items.Methods in org.openhab.core.items.dto that return ItemDTOMethods in org.openhab.core.items.dto with parameters of type ItemDTOModifier and TypeMethodDescriptionstatic @Nullable Item
ItemDTOMapper.map
(ItemDTO itemDTO, ItemBuilderFactory itemBuilderFactory) Maps item DTO into item object. -
Uses of ItemDTO in org.openhab.core.items.events
Methods in org.openhab.core.items.events that return ItemDTOModifier and TypeMethodDescriptionAbstractItemRegistryEvent.getItem()
Gets the item.ItemUpdatedEvent.getOldItem()
Gets the old item.Constructors in org.openhab.core.items.events with parameters of type ItemDTOModifierConstructorDescriptionprotected
AbstractItemRegistryEvent
(String topic, String payload, @Nullable String source, ItemDTO item) Must be called in subclass constructor to create a new item registry event.protected
ItemAddedEvent
(String topic, String payload, ItemDTO item) Constructs a new item added event object.protected
ItemRemovedEvent
(String topic, String payload, ItemDTO item) Constructs a new item removed event object.protected
ItemUpdatedEvent
(String topic, String payload, ItemDTO item, ItemDTO oldItem) Constructs a new item updated event object.