public class DisbursementVoucherNonEmployeeTravelCompanyValidation extends GenericValidation
Modifier and Type | Field and Description |
---|---|
static String |
DV_NON_EMPLOYEE_EXPENSES_PROPERTY_PATH |
static String |
DV_PRE_PAID_EMPLOYEE_EXPENSES_PROPERTY_PATH |
Constructor and Description |
---|
DisbursementVoucherNonEmployeeTravelCompanyValidation() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildFullPropertyName(String propertyPath,
int index,
String propertyName) |
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.
|
protected TravelCompanyCode |
retrieveCompany(String companyCode,
String companyName) |
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public static final String DV_PRE_PAID_EMPLOYEE_EXPENSES_PROPERTY_PATH
public static final String DV_NON_EMPLOYEE_EXPENSES_PROPERTY_PATH
public DisbursementVoucherNonEmployeeTravelCompanyValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
protected String buildFullPropertyName(String propertyPath, int index, String propertyName)
protected TravelCompanyCode retrieveCompany(String companyCode, String companyName)
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.public AccountingDocument getAccountingDocumentForValidation()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.