Package com.scooterframework.common.validation

Examples of com.scooterframework.common.validation.ValidationResults.failed()


     * @return List of error messages.
     */
    public static List<Message> getErrorMessages(ActiveRecord record) {
        if (record != null) {
            ValidationResults vr = record.getValidationResults();
            if (vr.failed()) {
                return vr.getErrorMessages();
            }
        }
        return null;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.