org.kuali.kfs.module.cam.document.validation.impl
Class AssetPaymentZeroAmountValidation

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.module.cam.document.validation.impl.AssetPaymentZeroAmountValidation
All Implemented Interfaces:
Validation

public class AssetPaymentZeroAmountValidation
extends GenericValidation

This class validates asset zero amount condition


Constructor Summary
AssetPaymentZeroAmountValidation()
           
 
Method Summary
 AccountingLine getAccountingLineForValidation()
           
 void setAccountingLineForValidation(AccountingLine accountingLine)
           
 boolean validate(AttributedDocumentEvent event)
          Asset payment amount should be a non-zero value
 
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

AssetPaymentZeroAmountValidation

public AssetPaymentZeroAmountValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Asset payment amount should be a non-zero value

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

getAccountingLineForValidation

public AccountingLine getAccountingLineForValidation()

setAccountingLineForValidation

public void setAccountingLineForValidation(AccountingLine accountingLine)


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