public class DisbursementVoucherNonEmployeeTravelValidation extends GenericValidation
| Constructor and Description | 
|---|
| DisbursementVoucherNonEmployeeTravelValidation() | 
| Modifier and Type | Method and Description | 
|---|---|
| AccountingDocument | getAccountingDocumentForValidation()Gets the accountingDocumentForValidation attribute. | 
| org.kuali.rice.kns.service.DictionaryValidationService | getDictionaryValidationService()Gets the dictionaryValidationService attribute. | 
| DisbursementVoucherTaxService | getDisbursementVoucherTaxService()Gets the disbursementVoucherTaxService attribute. | 
| DisbursementVoucherTravelService | getDisbursementVoucherTravelService()Gets the disbursementVoucherTravelService attribute. | 
| protected boolean | hasIncomeClassCode(DisbursementVoucherDocument document)Determines if the given document has an income for tax | 
| protected boolean | isGrossUp(DisbursementVoucherDocument document)Determines if the tax on the document was gross up | 
| void | setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)Sets the accountingDocumentForValidation attribute value. | 
| void | setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)Sets the dictionaryValidationService attribute value. | 
| void | setDisbursementVoucherTaxService(DisbursementVoucherTaxService disbursementVoucherTaxService)Sets the disbursementVoucherTaxService attribute value. | 
| void | setDisbursementVoucherTravelService(DisbursementVoucherTravelService disbursementVoucherTravelService)Sets the disbursementVoucherTravelService attribute value. | 
| void | setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)Sets the parameterService attribute value. | 
| boolean | validate(AttributedDocumentEvent event)This method validates that certain parameters | 
| protected boolean | validateTravelAmount(DisbursementVoucherDocument document)Determines if tax should be taken into consideration when checking the total travel amount, and validates that it matches the paid amount | 
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic DisbursementVoucherNonEmployeeTravelValidation()
public boolean validate(AttributedDocumentEvent event)
ValidationValidation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)protected boolean hasIncomeClassCode(DisbursementVoucherDocument document)
document - document to checkprotected boolean isGrossUp(DisbursementVoucherDocument document)
document - the document to checkprotected boolean validateTravelAmount(DisbursementVoucherDocument document)
document - the document to validate the non-employee total travel amount ofpublic void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - The parameterService to set.public AccountingDocument getAccountingDocumentForValidation()
public DisbursementVoucherTaxService getDisbursementVoucherTaxService()
public void setDisbursementVoucherTaxService(DisbursementVoucherTaxService disbursementVoucherTaxService)
disbursementVoucherTaxService - The disbursementVoucherTaxService to set.public DisbursementVoucherTravelService getDisbursementVoucherTravelService()
public void setDisbursementVoucherTravelService(DisbursementVoucherTravelService disbursementVoucherTravelService)
disbursementVoucherTravelService - The disbursementVoucherTravelService to set.public org.kuali.rice.kns.service.DictionaryValidationService getDictionaryValidationService()
public void setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
dictionaryValidationService - The dictionaryValidationService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.