Package org.grails.validation

Examples of org.grails.validation.InListConstraint


     * @return Returns the inList.
     */
    @Override
    @SuppressWarnings("rawtypes")
    public List getInList() {
        InListConstraint c = (InListConstraint)appliedConstraints.get(IN_LIST_CONSTRAINT);
        return c == null ? null : c.getList();
    }
View Full Code Here


        if (inList == null) {
            appliedConstraints.remove(IN_LIST_CONSTRAINT);
        }
        else {
            if (c == null) {
                c = new InListConstraint();
                c.setOwningClass(owningClass);
                c.setPropertyName(propertyName);
                appliedConstraints.put(IN_LIST_CONSTRAINT, c);
            }
            c.setParameter(inList);
View Full Code Here

TOP

Related Classes of org.grails.validation.InListConstraint

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.