public class PreEncumbranceRequiredAccountingLinesCountValidation extends GenericValidation
| Constructor and Description |
|---|
PreEncumbranceRequiredAccountingLinesCountValidation() |
| Modifier and Type | Method and Description |
|---|---|
PreEncumbranceDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.
|
void |
setAccountingDocumentForValidation(PreEncumbranceDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Validates that an accounting line does not have a capital object object code
Expects an accounting line as the first a parameter
|
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic PreEncumbranceRequiredAccountingLinesCountValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.sys.document.validation.Validation#validate(java.lang.Object[])public PreEncumbranceDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(PreEncumbranceDocument accountingDocumentForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.