org.apache.shale.usecases.validator
Class CustomValidationUtil
java.lang.Object
org.apache.shale.usecases.validator.CustomValidationUtil
public class CustomValidationUtil
- extends Object
Custom commons-validator utility
Method Summary |
static boolean |
isEven(int value)
Validation method which determines whether an integer is even. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomValidationUtil
public CustomValidationUtil()
isEven
public static boolean isEven(int value)
- Validation method which determines whether an integer is even.
- Parameters:
value
- the integer value to be tested
- Returns:
- true if the supplied value is even, false otherwise
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.