class BeanDataSetDefValidator extends AbstractDataSetDefValidator<BeanDataSetDef> {

    @Override
    public Iterable<ConstraintViolation<?>> validate( BeanDataSetDef dataSetDef,
                                                      boolean isCacheEnabled,
                                                      boolean isPushEnabled,
                                                      boolean isRefreshEnabled,
                                                      Object... params ) {
        Set<ConstraintViolation<BeanDataSetDef>> _violations = validator.validate( dataSetDef,
                                                                                   getValidationGroups( isCacheEnabled,
                                                                                                        isPushEnabled,
                                                                                                        isRefreshEnabled,
                                                                                                        BeanDataSetDefValidation.class ) );
        return toIterable( _violations );
    }

    @Inject public  BeanDataSetDefValidator( Validator validator );

}