Package org.easybatch.core.api

Examples of org.easybatch.core.api.ValidationError


        for (ConstraintViolation<T> constraintViolation : constraintViolationSet) {
            String validationErrorMessage = new StringBuilder()
                    .append("Invalid value '").append(constraintViolation.getInvalidValue()).append("' ")
                    .append("for property '").append(constraintViolation.getPropertyPath()).append("' : ")
                    .append(constraintViolation.getMessage()).toString();
            validationErrors.add(new ValidationError(validationErrorMessage));

        }

        return validationErrors;
    }
View Full Code Here

TOP

Related Classes of org.easybatch.core.api.ValidationError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.