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

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

public class BudgetAdjustmentAccountingLineBaseAmountValidation
extends GenericValidation

Validates an accounting line on a budget adjustment document whether the base amount on the line can be changed or not


Constructor Summary
BudgetAdjustmentAccountingLineBaseAmountValidation()
           
 
Method Summary
 BudgetAdjustmentDocument getAccountingDocumentForValidation()
          Gets the accountingDocumentForValidation attribute.
 BudgetAdjustmentAccountingLine getAccountingLineForValidation()
          Gets the accountingLineForValidation attribute.
 FiscalYearFunctionControlService getFiscalYearFunctionControlService()
          Gets the fiscalYearFunctionControlService attribute.
 void setAccountingDocumentForValidation(BudgetAdjustmentDocument accountingDocumentForValidation)
          Sets the accountingDocumentForValidation attribute value.
 void setAccountingLineForValidation(BudgetAdjustmentAccountingLine accountingLineForValidation)
          Sets the accountingLineForValidation attribute value.
 void setFiscalYearFunctionControlService(FiscalYearFunctionControlService fiscalYearFunctionControlService)
          Sets the fiscalYearFunctionControlService attribute value.
 boolean validate(AttributedDocumentEvent event)
          Validate that, if a base amount is entered for a line, that it can be adjusted for the posting year
 
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

BudgetAdjustmentAccountingLineBaseAmountValidation

public BudgetAdjustmentAccountingLineBaseAmountValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validate that, if a base amount is entered for a line, that it can be adjusted for the posting year

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.

getFiscalYearFunctionControlService

public FiscalYearFunctionControlService getFiscalYearFunctionControlService()
Gets the fiscalYearFunctionControlService attribute.

Returns:
Returns the fiscalYearFunctionControlService.

setFiscalYearFunctionControlService

public void setFiscalYearFunctionControlService(FiscalYearFunctionControlService fiscalYearFunctionControlService)
Sets the fiscalYearFunctionControlService attribute value.

Parameters:
fiscalYearFunctionControlService - The fiscalYearFunctionControlService to set.

getAccountingDocumentForValidation

public BudgetAdjustmentDocument getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.

Returns:
Returns the accountingDocumentForValidation.

setAccountingDocumentForValidation

public void setAccountingDocumentForValidation(BudgetAdjustmentDocument accountingDocumentForValidation)
Sets the accountingDocumentForValidation attribute value.

Parameters:
accountingDocumentForValidation - The accountingDocumentForValidation to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.