|
||||||||||
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.fp.document.validation.impl.AuxiliaryVoucherAccountingLineAmountValidation
public class AuxiliaryVoucherAccountingLineAmountValidation
The Auxiliary Voucher's customization of the accounting line amount validation.
Constructor Summary | |
---|---|
AuxiliaryVoucherAccountingLineAmountValidation()
|
Method Summary | |
---|---|
protected String |
buildErrorMapKeyPathForDebitCreditAmount(boolean isDebit)
This method looks at the current full key path that exists in the ErrorMap structure to determine how to build the error map for the special journal voucher credit and debit fields since they don't conform to the standard pattern of accounting lines. |
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute. |
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Accounting lines for Auxiliary Vouchers can only be positive non-zero numbers |
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 AuxiliaryVoucherAccountingLineAmountValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
protected String buildErrorMapKeyPathForDebitCreditAmount(boolean isDebit)
isDebit
- boolean to determine whether or not value isDebit or not
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 |