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

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.BudgetAdjustmentAccountingLineAccountHasRecordingLevelValidation
All Implemented Interfaces:
Validation

public class BudgetAdjustmentAccountingLineAccountHasRecordingLevelValidation
extends GenericValidation

Verification for BudgetAdjustmentAccountingLine to check that the account has a valid budget recording level.


Constructor Summary
BudgetAdjustmentAccountingLineAccountHasRecordingLevelValidation()
           
 
Method Summary
 BudgetAdjustmentAccountingLine getAccountingLineForValidation()
          Gets the accountingLineForValidation attribute.
 void setAccountingLineForValidation(BudgetAdjustmentAccountingLine accountingLineForValidation)
          Sets the accountingLineForValidation attribute value.
 boolean validate(AttributedDocumentEvent event)
          Validates that the given accounting line has a budget recording level code.
 
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

BudgetAdjustmentAccountingLineAccountHasRecordingLevelValidation

public BudgetAdjustmentAccountingLineAccountHasRecordingLevelValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validates that the given accounting line has a budget recording level code.

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.