public class AccountingLineAmountPositiveValidation extends GenericValidation
Constructor and Description |
---|
AccountingLineAmountPositiveValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingDocument |
getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.
|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute.
|
void |
setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.
|
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Check for zero amount, or negative on original (non-correction) document; no sign check for documents that are
corrections to previous documents
the accounting document must be the first parameter, the accounting line must be the second parameter
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public AccountingLineAmountPositiveValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.GenericValidation#validate(java.lang.Object[])
public AccountingDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation
- The accountingDocumentForValidation to set.public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.