// TODO: how to identify the correct device if there are several devices in the
// list?
public static List<KNXComObject> retrieveComObjectListByDatapointId(final KNXProject knxProject,
			final int dataPointId) {
		// TODO: how to identify the correct device if there are several devices in the
		// list?
		final KNXDeviceInstance knxDeviceInstance = knxProject.getDeviceInstances().get(0);
		// TODO: maybe create a map from datapoint id to ComObject????
		final List<KNXComObject> knxComObjects = knxDeviceInstance.getComObjects().values().stream()
				.filter(c -> c.getNumber() == dataPointId).filter(c -> c.isGroupObject()).collect(Collectors.toList());
		return knxComObjects;
	}
public static List<KNXComObject> retrieveComObjectListByDatapointId(final KNXProject knxProject,
final int dataPointId) {
// TODO: how to identify the correct device if there are several devices in the
// list?
final KNXDeviceInstance knxDeviceInstance = knxProject.getDeviceInstances().get(0);
// TODO: maybe create a map from datapoint id to ComObject????
public static List<KNXComObject> retrieveComObjectListByDatapointId(final KNXProject knxProject,
final int dataPointId) {
// TODO: how to identify the correct device if there are several devices in the
// list?
final KNXDeviceInstance knxDeviceInstance = knxProject.getDeviceInstances().get(0);
// TODO: maybe create a map from datapoint id to ComObject????
final List<KNXComObject> knxComObjects = knxDeviceInstance.getComObjects().values().stream()
.filter(c -> c.getNumber() == dataPointId).filter(c -> c.isGroupObject()).collect(Collectors.toList());
return knxComObjects;
}
public static List<KNXComObject> retrieveComObjectListByDatapointId(final KNXProject knxProject,
final int dataPointId) {
// TODO: how to identify the correct device if there are several devices in the
// list?
final KNXDeviceInstance knxDeviceInstance = knxProject.getDeviceInstances().get(0);
// TODO: maybe create a map from datapoint id to ComObject????
final List<KNXComObject> knxComObjects = knxDeviceInstance.getComObjects().values().stream()
.filter(c -> c.getNumber() == dataPointId).filter(c -> c.isGroupObject()).collect(Collectors.toList());
return knxComObjects;
}