org.springmodules.validation.util.condition.collection
Class AbstractCollectionElementCondition

java.lang.Object
  extended by org.springmodules.validation.util.condition.AbstractCondition
      extended by org.springmodules.validation.util.condition.NonNullAcceptingCondition
          extended by org.springmodules.validation.util.condition.collection.AbstractCollectionCondition
              extended by org.springmodules.validation.util.condition.collection.AbstractCollectionElementCondition
All Implemented Interfaces:
Condition
Direct Known Subclasses:
AllCollectionCondition, AtLeastCollectionCondition, NoneCollectionCondition, SomeCollectionCondition

public abstract class AbstractCollectionElementCondition
extends AbstractCollectionCondition

A base class for all collection conditions that perform checks on the collection elements.

Author:
Uri Boness

Constructor Summary
protected AbstractCollectionElementCondition(Condition elementCondition)
          Constructs a new AbstractCollectionElementCondition with a given element elementCondition.
 
Method Summary
 Condition getElementCondition()
          Returns the element condition associated with this elementCondition.
 
Methods inherited from class org.springmodules.validation.util.condition.collection.AbstractCollectionCondition
beforeObjectChecked, checkArray, checkCollection, doCheck
 
Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition
afterObjectChecked, and, check, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCollectionElementCondition

protected AbstractCollectionElementCondition(Condition elementCondition)
Constructs a new AbstractCollectionElementCondition with a given element elementCondition.

Parameters:
elementCondition - The element elementCondition.
Method Detail

getElementCondition

public Condition getElementCondition()
Returns the element condition associated with this elementCondition.

Returns:
The element condition associated with this elementCondition.


Copyright © 2009. All Rights Reserved.