org.springframework.rules.constraint
Class AbstractConstraint

Show UML class diagram
java.lang.Object
  extended by org.springframework.rules.closure.support.AlgorithmsAccessor
      extended by org.springframework.rules.constraint.ConstraintsAccessor
          extended by org.springframework.rules.constraint.AbstractConstraint
All Implemented Interfaces:
Serializable, Constraint
Direct Known Subclasses:
CompoundConstraint, IfTrue, Range, StringLengthConstraint, UniquePropertyValueConstraint, WildcardConstraint

public abstract class AbstractConstraint
extends ConstraintsAccessor
implements Constraint, Serializable

See Also:
Serialized Form

Constructor Summary
AbstractConstraint()
           
 
Method Summary
 boolean allTrue(Collection collection)
           
 boolean allTrue(Iterator it)
           
 boolean anyTrue(Collection collection)
           
 boolean anyTrue(Iterator it)
           
 Collection findAll(Collection collection)
           
 Object findAll(Iterator it)
           
 Object findFirst(Collection collection)
           
 Object findFirst(Iterator it)
           
 
Methods inherited from class org.springframework.rules.constraint.ConstraintsAccessor
all, all, and, any, any, bind, bind, bind, bind, bind, conjunction, disjunction, eq, eq, eq, eq, eq, eqProperty, eqProperty, getConstraints, gt, gt, gt, gt, gt, gt, gt, gte, gte, gte, gte, gte, gte, gte, gteProperty, gteProperty, gtProperty, gtProperty, ifTrue, ifTrueElse, inGroup, inGroup, inGroup, inRange, inRange, inRangeProperties, inRangeProperties, like, like, lt, lt, lt, lt, lt, lt, lt, lte, lte, lte, lte, lte, lte, lte, lteProperty, lteProperty, ltProperty, ltProperty, maxLength, method, minLength, not, not, or, present, present, range, range, range, range, range, range, range, regexp, regexp, required, required, testResultOf, unique, value
 
Methods inherited from class org.springframework.rules.closure.support.AlgorithmsAccessor
allTrue, allTrue, anyTrue, anyTrue, findAll, findAll, findFirst, findFirst, forEach, forEach, getAlgorithms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.rules.constraint.Constraint
test
 

Constructor Detail

AbstractConstraint

public AbstractConstraint()
Method Detail

allTrue

public boolean allTrue(Collection collection)

allTrue

public boolean allTrue(Iterator it)

anyTrue

public boolean anyTrue(Collection collection)

anyTrue

public boolean anyTrue(Iterator it)

findAll

public Collection findAll(Collection collection)

findAll

public Object findAll(Iterator it)

findFirst

public Object findFirst(Collection collection)

findFirst

public Object findFirst(Iterator it)


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.