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

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

public class JournalVoucherReversalDateValidation
extends GenericValidation

A validation of the reversal date on a Journal Voucher document


Constructor Summary
JournalVoucherReversalDateValidation()
           
 
Method Summary
 JournalVoucherDocument getJournalVoucherForValidation()
          Gets the journalVoucherForValidation attribute.
 void setJournalVoucherForValidation(JournalVoucherDocument journalVoucherForDocument)
          Sets the journalVoucherForValidation attribute value.
 boolean validate(AttributedDocumentEvent event)
          Checks that if the reveral date for the document is not null, that the reversal date has not already occurred
 
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

JournalVoucherReversalDateValidation

public JournalVoucherReversalDateValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Checks that if the reveral date for the document is not null, that the reversal date has not already occurred

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

getJournalVoucherForValidation

public JournalVoucherDocument getJournalVoucherForValidation()
Gets the journalVoucherForValidation attribute.

Returns:
Returns the journalVoucherForValidation.

setJournalVoucherForValidation

public void setJournalVoucherForValidation(JournalVoucherDocument journalVoucherForDocument)
Sets the journalVoucherForValidation attribute value.

Parameters:
journalVoucherForValidation - The journalVoucherForValidation to set.


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