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

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.fp.document.validation.impl.CashReceiptCheckAmountNotZeroValidation
All Implemented Interfaces:
Validation

public class CashReceiptCheckAmountNotZeroValidation
extends GenericValidation

Validation that checks that a check's amount is not zero.


Constructor Summary
CashReceiptCheckAmountNotZeroValidation()
           
 
Method Summary
 Check getCheckForValidation()
          Gets the checkForValidation attribute.
 void setCheckForValidation(Check checkForValidation)
          Sets the checkForValidation attribute value.
 boolean validate(AttributedDocumentEvent event)
          Verifies that a check amount is not zero.
 
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

CashReceiptCheckAmountNotZeroValidation

public CashReceiptCheckAmountNotZeroValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Verifies that a check amount is not zero.

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

getCheckForValidation

public Check getCheckForValidation()
Gets the checkForValidation attribute.

Returns:
Returns the checkForValidation.

setCheckForValidation

public void setCheckForValidation(Check checkForValidation)
Sets the checkForValidation attribute value.

Parameters:
checkForValidation - The checkForValidation to set.


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