org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingUpdateAccountingLineValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.purap.document.validation.impl.PurchasingUpdateAccountingLineValidation
- All Implemented Interfaces:
- Validation
public class PurchasingUpdateAccountingLineValidation
- extends GenericValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchasingUpdateAccountingLineValidation
public PurchasingUpdateAccountingLineValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Description copied from interface:
Validation
- This method validates that certain parameters
- Returns:
- true if validation should continue, false otherwise
verifyAccountingLinePercent
protected boolean verifyAccountingLinePercent(PurApAccountingLine purapAccountingLine)
- Verifies that the accounting line percent is a whole number.
- Parameters:
purapAccountingLine
- the accounting line to be validated
- Returns:
- boolean false if the accounting line percent is not a whole number.
getUpdatedAccountingLine
public AccountingLine getUpdatedAccountingLine()
setUpdatedAccountingLine
public void setUpdatedAccountingLine(AccountingLine updatedAccountingLine)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.