class DeviceGroup extends UserDefinedEntity {

    public Set<Device> getAllDevices() {
        Set<Device> allDevices = new HashSet<>();

        for (Device device: devices) {
            device.setOnlyDeviceGroup(null);
            allDevices.add(device);
        }
        return Collections.unmodifiableSet(allDevices);
    }

    public  DeviceGroup(final String name);
    public  DeviceGroup(final String name, final String description);
    protected  DeviceGroup();

}