org.kuali.kfs.fp.document.validation.impl
Class AccountingLineAmountNonZeroValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.fp.document.validation.impl.AccountingLineAmountNonZeroValidation
- All Implemented Interfaces:
- Validation
public class AccountingLineAmountNonZeroValidation
- extends GenericValidation
Validates that the amount on a given accounting line is not zero
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountingLineAmountNonZeroValidation
public AccountingLineAmountNonZeroValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validates that the amount of the given accounting line is not zero
the accounting document must be the first parameter, the accounting line must be the second parameter
- Returns:
- true if validation should continue, false otherwise
- See Also:
org.kuali.kfs.sys.document.validation.GenericValidation#validate(java.lang.Object[])
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.