Package org.springframework.rules.constraint

Examples of org.springframework.rules.constraint.AbstractConstraint


    PropertyConstraint e = (PropertyConstraint)compoundConstraint.iterator().next();
    return e.getPropertyName();
  }

  public boolean isDependentOn(final String propertyName) {
    return new AbstractConstraint() {
      public boolean test(Object o) {
        return ((PropertyConstraint)o).isDependentOn(propertyName);
      }
    }.anyTrue(compoundConstraint.iterator());
  }
View Full Code Here

TOP

Related Classes of org.springframework.rules.constraint.AbstractConstraint

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.