public class OptionalOneSidedDocumentAccountingLinesCountValidation extends GenericValidation
Constructor and Description |
---|
OptionalOneSidedDocumentAccountingLinesCountValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValdation attribute.
|
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValdation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Some double-sided documents also allow for one sided entries for correcting - so if one side is empty, the other side must
have at least two lines in it.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public OptionalOneSidedDocumentAccountingLinesCountValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)
public AccountingDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValdation
- The accountingDocumentForValdation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.