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, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PreEncumbranceRequiredAccountingLinesCountValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.Validation#validate(java.lang.Object[])
public PreEncumbranceDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(PreEncumbranceDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.