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) {
	
	
		final KNXDeviceInstance knxDeviceInstance = knxProject.getDeviceInstances().get(0);
	
		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) { final knxdeviceinstance knxdeviceinstance = knxproject.getdeviceinstances().get(0); final list<knxcomobject> knxcomobjects = knxdeviceinstance.getcomobjects().values().stream() .filter(c -> c.getnumber() == datapointid).filter(c -> c.isgroupobject()).collect(collectors.tolist()); return knxcomobjects; }