org.kuali.kfs.fp.document.validation.impl
Class AuxiliaryVoucherSingleSubFundValidation
java.lang.Object
  
org.kuali.kfs.sys.document.validation.ParameterizedValidation
      
org.kuali.kfs.sys.document.validation.GenericValidation
          
org.kuali.kfs.fp.document.validation.impl.AuxiliaryVoucherSingleSubFundValidation
- All Implemented Interfaces: 
 - Validation
 
public class AuxiliaryVoucherSingleSubFundValidation
- extends GenericValidation
 
Validation for Auxiliary Voucher that checks that all the source accounting lines on the document use
 only one sub fund group among them.
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AuxiliaryVoucherSingleSubFundValidation
public AuxiliaryVoucherSingleSubFundValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Iterates 
AccountingLine instances in a given FinancialDocument instance and
 compares them to see if they are all in the same Sub-Fund Group.
- Returns:
 - true if validation should continue, false otherwise
 - See Also:
 Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
 
 
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.