public class ProcurementCardFixErrorPathValidation extends GenericValidation
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
ProcurementCardFixErrorPathValidation() |
Modifier and Type | Method and Description |
---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute.
|
protected boolean |
isTransactionBalanceValid(ProcurementCardTransactionDetail pcTransactionDetail)
This method validates the balance of the transaction given.
|
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value.
|
boolean |
validate(AttributedDocumentEvent event)
Validates that an accounting line does not have a capital object object code
Expects an accounting line as the first a parameter
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
protected static org.apache.log4j.Logger LOG
public ProcurementCardFixErrorPathValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.Validation#validate(java.lang.Object[])
protected boolean isTransactionBalanceValid(ProcurementCardTransactionDetail pcTransactionDetail)
pcTransaction
- The transaction detail used to retrieve the procurement card transaction and target accounting
lines used to check for in balance.public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.