Package net.solarnetwork.node.service
Interface MultiDatumDataSource
- All Superinterfaces:
DeviceInfoProvider,net.solarnetwork.service.Identifiable
- All Known Implementing Classes:
LocationDatumDataSource
public interface MultiDatumDataSource
extends net.solarnetwork.service.Identifiable, DeviceInfoProvider
API for collecting multiple
NodeDatum objects from some device.- Version:
- 2.0
- Author:
- matt
-
Field Summary
Fields inherited from interface net.solarnetwork.service.Identifiable
GROUP_UID_PROPERTY, UID_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionGet the class supported by this DataSource.Read multiple values from the data source, returning as a collection of unpersistedNodeDatumobjects.Methods inherited from interface net.solarnetwork.node.service.DeviceInfoProvider
canPublishDeviceInfo, deviceInfo, deviceInfoSourceIdMethods inherited from interface net.solarnetwork.service.Identifiable
getDisplayName, getGroupUid, getUid
-
Method Details
-
getMultiDatumType
Get the class supported by this DataSource.- Returns:
- class
-
readMultipleDatum
Collection<NodeDatum> readMultipleDatum()Read multiple values from the data source, returning as a collection of unpersistedNodeDatumobjects.- Returns:
- Datum
-