org.kuali.kfs.fp.document.validation.impl
Class CashReceiptFamilyAccountingLineAmountValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.fp.document.validation.impl.CashReceiptFamilyAccountingLineAmountValidation
- All Implemented Interfaces:
- Validation
public class CashReceiptFamilyAccountingLineAmountValidation
- extends GenericValidation
Validation that validates the amounts on accounting lines for the Cash Receipt family of documents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CashReceiptFamilyAccountingLineAmountValidation
public CashReceiptFamilyAccountingLineAmountValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Cash Receipt documents allow both positive and negative values, so we only need to check for zero amounts.
- Returns:
- true if validation should continue, false otherwise
- See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
getAccountingLineForValidation
public AccountingLine getAccountingLineForValidation()
- Gets the accountingLineForValidation attribute.
- Returns:
- Returns the accountingLineForValidation.
setAccountingLineForValidation
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
- Sets the accountingLineForValidation attribute value.
- Parameters:
accountingLineForValidation
- The accountingLineForValidation to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.