org.springmodules.validation.util.condition.range
Class AbstractBetweenCondition
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.AbstractBetweenCondition
- All Implemented Interfaces:
- Condition
- Direct Known Subclasses:
- BetweenCondition, BetweenIncludingCondition, BetweenIncludingLowerBoundCondition, BetweenIncludingUpperBoundCondition
public abstract class AbstractBetweenCondition
- extends AbstractRangeCondition
An AbstractRangeCondition
implementation that serves as a base class for all between conditions.
- Author:
- Uri Boness
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBetweenCondition
public AbstractBetweenCondition(Comparable lowerBound,
Comparable upperBound)
- Constructs a new BetweenCondition with the given bounds (upper and lower) the checked value will be
compared with.
- Parameters:
lowerBound
- The lower bound the checked object will be compared with.upperBound
- The upper bound the checked object will be compared with.
AbstractBetweenCondition
public AbstractBetweenCondition(Object lowerBound,
Object upperBound,
Comparator comparator)
getLowerBound
public Object getLowerBound()
- Returns the lower bound that is associated with this condition.
- Returns:
- The lower bound that is associated with this condition.
getUpperBound
public Object getUpperBound()
- Returns the upper bound that is associated with this condition.
- Returns:
- The upper bound that is associated with this condition.
Copyright © 2009. All Rights Reserved.