Package com.sun.enterprise.tools.common.validation.constraints

Examples of com.sun.enterprise.tools.common.validation.constraints.ConstraintFailure


    public Collection match(String value, String name) {
        Collection failed_constrained_list = new ArrayList();
        if (value != null){
            if(value.length() == 0){
                String failureMessage = formatFailureMessage(toString(), name);
                failed_constrained_list.add(new ConstraintFailure(toString(),
                    value, name, failureMessage, BundleReader.getValue(
                        "MSG_NonZeroLengthConstraint_Failure")));       //NOI18N
            }
        }
        return failed_constrained_list;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.tools.common.validation.constraints.ConstraintFailure

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.