org.kuali.kfs.fp.document.validation.impl
Class BudgetAdjustmentAccountingLineAccountIncomeStreamValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.fp.document.validation.impl.BudgetAdjustmentAccountingLineAccountIncomeStreamValidation
All Implemented Interfaces:
Validation

public class BudgetAdjustmentAccountingLineAccountIncomeStreamValidation
extends GenericValidation

Validation that checks Budget Adjustment accounting lines to make sure that non-zero adjustments have related income stream accounts.


Constructor Summary
BudgetAdjustmentAccountingLineAccountIncomeStreamValidation()
           
 
Method Summary
 BudgetAdjustmentAccountingLine getAccountingLineForValidation()
          Gets the accountingLineForValidation attribute.
 void setAccountingLineForValidation(BudgetAdjustmentAccountingLine accountingLineForValidation)
          Sets the accountingLineForValidation attribute value.
 boolean validate(AttributedDocumentEvent event)
          Validate that, if current adjustment amount is non zero, account has an associated income stream chart and account
 
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

BudgetAdjustmentAccountingLineAccountIncomeStreamValidation

public BudgetAdjustmentAccountingLineAccountIncomeStreamValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validate that, if current adjustment amount is non zero, account has an associated income stream chart and account

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.