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

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.CashReceiptCheckAmountPositiveValidation
All Implemented Interfaces:
Validation

public class CashReceiptCheckAmountPositiveValidation
extends GenericValidation

Validation that makes sure a check amount is positive.


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

CashReceiptCheckAmountPositiveValidation

public CashReceiptCheckAmountPositiveValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Verifies that the amount on the check is not negative.

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.