org.kuali.kfs.sys.document.validation.impl
Class DebitsAndCreditsBalanceValidation
java.lang.Object
   org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.ParameterizedValidation
       org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.sys.document.validation.GenericValidation
           org.kuali.kfs.sys.document.validation.impl.DebitsAndCreditsBalanceValidation
org.kuali.kfs.sys.document.validation.impl.DebitsAndCreditsBalanceValidation
- All Implemented Interfaces: 
- Validation
- public class DebitsAndCreditsBalanceValidation 
- extends GenericValidation
A validation that checks that the credits and debits of GLPEs generated by a document are balanced.
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DebitsAndCreditsBalanceValidation
public DebitsAndCreditsBalanceValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Generates the GLPEs for a given accounting document and checks that the debits total equals
 the credits total.
 Expects the document to be sent in as a property.
 
- 
- Returns:
- true if validation should continue, false otherwise
- See Also:
- org.kuali.kfs.sys.document.validation.GenericValidation#validate(java.lang.Object[])
 
getAccountingDocumentForValidation
public AccountingDocument getAccountingDocumentForValidation()
- Gets the accountingDocumentForValidation attribute.
 
- 
- Returns:
- Returns the accountingDocumentForValidation.
 
setAccountingDocumentForValidation
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
- Sets the accountingDocumentForValidation attribute value.
 
- 
- Parameters:
- accountingDocumentForValidation- The accountingDocumentForValidation to set.
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.