org.kuali.kfs.fp.document.validation.impl
Class DisbursementVoucherAccountingLineAmountPositiveValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.sys.document.validation.impl.AccountingLineAmountPositiveValidation
              extended by org.kuali.kfs.fp.document.validation.impl.DisbursementVoucherAccountingLineAmountPositiveValidation
All Implemented Interfaces:
Validation

public class DisbursementVoucherAccountingLineAmountPositiveValidation
extends AccountingLineAmountPositiveValidation


Constructor Summary
DisbursementVoucherAccountingLineAmountPositiveValidation()
           
 
Method Summary
 boolean validate(AttributedDocumentEvent event)
          Check for zero amount, or negative on original (non-correction) document; no sign check for documents that are corrections to previous documents the accounting document must be the first parameter, the accounting line must be the second parameter
 
Methods inherited from class org.kuali.kfs.sys.document.validation.impl.AccountingLineAmountPositiveValidation
getAccountingDocumentForValidation, getAccountingLineForValidation, setAccountingDocumentForValidation, setAccountingLineForValidation
 
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation
setQuitOnFail, shouldQuitOnFail, stageValidation
 
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisbursementVoucherAccountingLineAmountPositiveValidation

public DisbursementVoucherAccountingLineAmountPositiveValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Description copied from class: AccountingLineAmountPositiveValidation
Check for zero amount, or negative on original (non-correction) document; no sign check for documents that are corrections to previous documents the accounting document must be the first parameter, the accounting line must be the second parameter

Specified by:
validate in interface Validation
Overrides:
validate in class AccountingLineAmountPositiveValidation
Returns:
true if validation should continue, false otherwise
See Also:
AccountingLineAmountPositiveValidation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.