class DataObjectValidationServiceImpl implements DataObjectValidationService {

    public Collection<ValidationMessage> validateObjectPropertyDeletion(final DataObject dataObject,
                                                                        final ObjectProperty objectProperty) {
        return objectPropertyDeleteValidators
                .stream()
                .flatMap(c -> c.validate(dataObject,
                                         objectProperty).stream())
                .collect(Collectors.toList());
    }

    public  DataObjectValidationServiceImpl();
    @Inject public  DataObjectValidationServiceImpl(final Instance<ObjectPropertyDeleteValidator> objectPropertyDeleteValidatorInstance);

}