|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.sys.document.validation.impl.AccountingLineAmountPositiveValidation
public class AccountingLineAmountPositiveValidation
Validates an accounting line that, if the line is not a correction document, the line amount is a positive amount
Constructor Summary | |
---|---|
AccountingLineAmountPositiveValidation()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation |
---|
setQuitOnFail, shouldQuitOnFail, stageValidation |
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation |
---|
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountingLineAmountPositiveValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |