class DeviceGroup extends UserDefinedEntity {

    public int getNumberOfTrustedDevices() {
        int count = 0;

        if (devices != null) {
            for (final Device device : devices) {
                if (device.getHealthStatus() == HealthStatus.TRUSTED) {
                    count++;
                }
            }
        }

        return count;
    }

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

}