org.kuali.kfs.fp.document.validation.impl
Class BudgetAdjustmentAccountingLineMonthlyLinesValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.fp.document.validation.impl.BudgetAdjustmentAccountingLineMonthlyLinesValidation
- All Implemented Interfaces:
- Validation
public class BudgetAdjustmentAccountingLineMonthlyLinesValidation
- extends GenericValidation
Validation for a budget adjustment accounting line that validates the information in the monthly lines
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BudgetAdjustmentAccountingLineMonthlyLinesValidation
public BudgetAdjustmentAccountingLineMonthlyLinesValidation()
validate
public boolean validate(AttributedDocumentEvent event)
- Validates the total of the monthly amount fields (if not 0) equals the current budget amount. If current budget is 0, then
total of monthly fields must be 0.
- Returns:
- true if validation should continue, false otherwise
- See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
getAccountingLineForValidation
public BudgetAdjustmentAccountingLine getAccountingLineForValidation()
- Gets the accountingLineForValidation attribute.
- Returns:
- Returns the accountingLineForValidation.
setAccountingLineForValidation
public void setAccountingLineForValidation(BudgetAdjustmentAccountingLine accountingLineForValidation)
- Sets the accountingLineForValidation attribute value.
- Parameters:
accountingLineForValidation
- The accountingLineForValidation to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.