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

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

public class PreEncumbranceReversalDateValidation
extends GenericValidation

Validates that an accounting line does not have a capital object object code


Constructor Summary
PreEncumbranceReversalDateValidation()
           
 
Method Summary
 PreEncumbranceDocument getAccountingDocumentForValidation()
          Gets the accountingDocumentForValidation attribute.
 AccountingDocumentRuleHelperService getAccountingDocumentRuleHelperService()
          Gets the accountingDocumentRuleHelperService attribute.
 void setAccountingDocumentForValidation(PreEncumbranceDocument accountingDocumentForValidation)
          Sets the accountingDocumentForValidation attribute value.
 void setAccountingDocumentRuleHelperService(AccountingDocumentRuleHelperService accountingDocumentRuleHelperService)
          Sets the accountingDocumentRuleHelperService attribute value.
 boolean validate(AttributedDocumentEvent event)
          Validates that an accounting line does not have a capital object object code Expects an accounting line as the first a parameter
 
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

PreEncumbranceReversalDateValidation

public PreEncumbranceReversalDateValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validates that an accounting line does not have a capital object object code Expects an accounting line as the first a parameter

Returns:
true if validation should continue, false otherwise
See Also:
org.kuali.kfs.sys.document.validation.Validation#validate(java.lang.Object[])

getAccountingDocumentRuleHelperService

public AccountingDocumentRuleHelperService getAccountingDocumentRuleHelperService()
Gets the accountingDocumentRuleHelperService attribute.

Returns:
Returns the accountingDocumentRuleHelperService.

setAccountingDocumentRuleHelperService

public void setAccountingDocumentRuleHelperService(AccountingDocumentRuleHelperService accountingDocumentRuleHelperService)
Sets the accountingDocumentRuleHelperService attribute value.

Parameters:
accountingDocumentRuleHelperService - The accountingDocumentRuleHelperService to set.

getAccountingDocumentForValidation

public PreEncumbranceDocument getAccountingDocumentForValidation()
Gets the accountingDocumentForValidation attribute.

Returns:
Returns the accountingDocumentForValidation.

setAccountingDocumentForValidation

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

Parameters:
accountingDocumentForValidation - The accountingDocumentForValidation to set.


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