class ProvideAndRegisterDocumentSetRequestValidator implements Validator<EbXMLProvideAndRegisterDocumentSetRequest, ValidationProfile> {

    @Override
    public void validate(EbXMLProvideAndRegisterDocumentSetRequest request, ValidationProfile profile) {
        notNull(request, "request cannot be null");

        submitObjectsRequestValidator.validate(request, profile);
        
        validateDocuments(request);
    }

}