org.kuali.kfs.fp.document.validation.impl
Class CashReceiptCheckAmountPositiveValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.fp.document.validation.impl.CashReceiptCheckAmountPositiveValidation
- All Implemented Interfaces:
- Validation
public class CashReceiptCheckAmountPositiveValidation
- extends GenericValidation
Validation that makes sure a check amount is positive.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CashReceiptCheckAmountPositiveValidation
public CashReceiptCheckAmountPositiveValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Verifies that the amount on the check is not negative.
- Returns:
- true if validation should continue, false otherwise
- See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
getCheckForValidation
public Check getCheckForValidation()
- Gets the checkForValidation attribute.
- Returns:
- Returns the checkForValidation.
setCheckForValidation
public void setCheckForValidation(Check checkForValidation)
- Sets the checkForValidation attribute value.
- Parameters:
checkForValidation
- The checkForValidation to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.