public class AccountingLineAmountNonZeroValidation extends GenericValidation
Constructor and Description |
---|
AccountingLineAmountNonZeroValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute.
|
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Validates that the amount of the given accounting line is not zero
the accounting document must be the first parameter, the accounting line must be the second parameter
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public AccountingLineAmountNonZeroValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.GenericValidation#validate(java.lang.Object[])
public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.