org.apache.fulcrum.intake.validator
Interface CompareCallback
public interface CompareCallback
Interface to define the compare operation betwen two field values
- Version:
- $Id: DateStringValidator.java 534527 2007-05-02 16:10:59Z tv $
- Author:
- Thomas Vandahl
Method Summary |
boolean |
compareValues(int compare,
Object thisValue,
Object refValue)
Compare the given values using the compare operation provided |
compareValues
boolean compareValues(int compare,
Object thisValue,
Object refValue)
throws ClassCastException
- Compare the given values using the compare operation provided
- Parameters:
compare
- type of compare operationthisValue
- value of this fieldrefValue
- value of the reference field
- Returns:
- the result of the comparison
- Throws:
ClassCastException
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.