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

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

public class IndirectCostAdjustmentAccountValidation
extends GenericValidation

This class...


Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
IndirectCostAdjustmentAccountValidation()
           
 
Method Summary
 AccountingLine getAccountingLineForValidation()
          Gets the accountingLineForValidation attribute.
protected  void reportError(String propertyName, String errorKey, String... errorParams)
          Wrapper around global errorMap.put call, to allow better logging
 void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
          Sets the accountingLineForValidation attribute value.
 boolean validate(AttributedDocumentEvent event)
          This method validates that certain parameters
 
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
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

IndirectCostAdjustmentAccountValidation

public IndirectCostAdjustmentAccountValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Description copied from interface: Validation
This method validates that certain parameters

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

getAccountingLineForValidation

public AccountingLine getAccountingLineForValidation()
Gets the accountingLineForValidation attribute.

Returns:
Returns the accountingLineForValidation.

setAccountingLineForValidation

public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value.

Parameters:
accountingLineForValidation - The accountingLineForValidation to set.

reportError

protected void reportError(String propertyName,
                           String errorKey,
                           String... errorParams)
Wrapper around global errorMap.put call, to allow better logging

Parameters:
propertyName -
errorKey -
errorParams -


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