org.kuali.kfs.fp.document.validation.impl
Class TransferOfFundsObjectCodeValueAllowedValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.sys.document.validation.impl.AccountingLineValueAllowedValidation
org.kuali.kfs.fp.document.validation.impl.TransferOfFundsObjectCodeValueAllowedValidation
- All Implemented Interfaces:
- Validation
public class TransferOfFundsObjectCodeValueAllowedValidation
- extends AccountingLineValueAllowedValidation
A validation for the transfer of funds document that makes sure that an object code in any accounting line represents either income or expense.
Methods inherited from class org.kuali.kfs.sys.document.validation.impl.AccountingLineValueAllowedValidation |
convertPathToQueue, getAccountingDocumentForValidation, getAccountingLineForValidation, getParameterService, getParameterToCheckAgainst, getPropertyPath, getResponsibleProperty, isAccountingLineValueAllowed, refreshByPath, refreshByQueue, setAccountingDocumentForValidation, setAccountingLineForValidation, setParameterService, setParameterToCheckAgainst, setPropertyPath, setResponsibleProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransferOfFundsObjectCodeValueAllowedValidation
public TransferOfFundsObjectCodeValueAllowedValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Overrides the parent to make sure that the chosen object code's object code is Income/Expense.
- Specified by:
validate
in interface Validation
- Overrides:
validate
in class AccountingLineValueAllowedValidation
- Returns:
- true if validation should continue, false otherwise
- See Also:
AccountingLineValueAllowedValidation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
getDebitDeterminerService
public DebitDeterminerService getDebitDeterminerService()
- Gets the debitDeterminerService attribute.
- Returns:
- Returns the debitDeterminerService.
setDebitDeterminerService
public void setDebitDeterminerService(DebitDeterminerService debitDeterminerService)
- Sets the debitDeterminerService attribute value.
- Parameters:
debitDeterminerService
- The debitDeterminerService to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.