org.springmodules.validation.util.condition.range
Class AbstractSingleBoundCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.NonNullAcceptingCondition
org.springmodules.validation.util.condition.range.AbstractRangeCondition
org.springmodules.validation.util.condition.range.AbstractSingleBoundCondition
- All Implemented Interfaces:
- Condition
- Direct Known Subclasses:
- GreaterThanCondition, GreaterThanOrEqualsCondition, LessThanCondition, LessThanOrEqualsCondition
public abstract class AbstractSingleBoundCondition
- extends AbstractRangeCondition
A base class for all single bound conditions.
- Author:
- Uri Boness
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bound
protected Object bound
AbstractSingleBoundCondition
public AbstractSingleBoundCondition(Comparable bound)
- Constructs a new AbstractSingleBoundCondition with a given bound.
- Parameters:
bound
- The bound.
AbstractSingleBoundCondition
public AbstractSingleBoundCondition(Object bound,
Comparator comparator)
- Constructs a new AbstractSingleBoundCondition with given bound and the comparator to be used to
compare the checked value.
- Parameters:
bound
- The bound bound.comparator
- The comparator.
Copyright © 2009. All Rights Reserved.