org.kuali.kfs.fp.document.validation.impl
Class JournalVoucherReversalDateValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalVoucherReversalDateValidation
public JournalVoucherReversalDateValidation()
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.