org.kuali.kfs.sys.document.validation.impl
Class BankCodeValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.impl.BankCodeValidation
public class BankCodeValidation
- extends Object
Performs bank code validation.
Method Summary |
static boolean |
validate(String bankCode,
String bankCodeProperty,
boolean requireDeposit,
boolean requireDisbursement)
Performs required, exists, and active validation of bank code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BankCodeValidation
public BankCodeValidation()
validate
public static boolean validate(String bankCode,
String bankCodeProperty,
boolean requireDeposit,
boolean requireDisbursement)
- Performs required, exists, and active validation of bank code. Also validates bank for deposit or disbursement indicator if
requested. .
- Parameters:
bankCode
- value to validatebankCodeProperty
- property to associate errors withrequireDeposit
- true if the bank code should support depositsrequireDisbursement
- true if the bank code should support disbursements
- Returns:
- true if bank code passes all validations, false if any fail
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.