org.springmodules.validation.bean.rule
Class InstantInThePastValidationRule

java.lang.Object
  extended by org.springmodules.validation.bean.rule.AbstractValidationRule
      extended by org.springmodules.validation.bean.rule.InstantInThePastValidationRule
All Implemented Interfaces:
ValidationRule

public class InstantInThePastValidationRule
extends AbstractValidationRule

An AbstractValidationRule implementation that validates and checks that a Instant occured in the past (relative to the time of validation).

Author:
Uri Boness

Constructor Summary
InstantInThePastValidationRule()
          Constructs a new InstantInThePastValidationRule.
 
Method Summary
 Condition getCondition()
          Returns the condition of this validation rule.
 
Methods inherited from class org.springmodules.validation.bean.rule.AbstractValidationRule
checkContexts, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, getDefaultErrorMessage, getErrorArguments, getErrorCode, isApplicable, setApplicabilityCondition, setContextTokens, setDefaultErrorMessage, setErrorArgumentsResolver, setErrorCode, supportsNullValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstantInThePastValidationRule

public InstantInThePastValidationRule()
Constructs a new InstantInThePastValidationRule.

Method Detail

getCondition

public Condition getCondition()
Returns the condition of this validation rule.

Returns:
The condition of this validation rule.
See Also:
ValidationRule.getCondition()


Copyright © 2009. All Rights Reserved.