public class NonCheckDisbursementRequiredReferenceFieldValidation extends GenericValidation
Constructor and Description |
---|
NonCheckDisbursementRequiredReferenceFieldValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute.
|
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
Gets the dataDictionaryService attribute.
|
protected void |
putRequiredPropertyError(org.kuali.rice.krad.datadictionary.BusinessObjectEntry boe,
String propertyName)
Adds a global error for a missing required property.
|
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value.
|
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
determines if a reference number has been added to the Accounting Line
Expects an accounting line as the first a parameter
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public NonCheckDisbursementRequiredReferenceFieldValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.Validation#validate(java.lang.Object[])
protected void putRequiredPropertyError(org.kuali.rice.krad.datadictionary.BusinessObjectEntry boe, String propertyName)
boe
- propertyName
- public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService
- The dataDictionaryService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.