org.kuali.kfs.module.purap.document.validation.impl
Class PaymentRequestAccountingLineAccessibleBranchingValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.BranchingValidation
          extended by org.kuali.kfs.module.purap.document.validation.impl.PaymentRequestAccountingLineAccessibleBranchingValidation
All Implemented Interfaces:
Validation

public class PaymentRequestAccountingLineAccessibleBranchingValidation
extends BranchingValidation


Field Summary
protected static String USE_DEFAULT_ACCOUNTING_LINE_ACCESSIBLE
           
 
Fields inherited from class org.kuali.kfs.sys.document.validation.BranchingValidation
branchMap, parameterProperties, shouldQuitOnFail
 
Constructor Summary
PaymentRequestAccountingLineAccessibleBranchingValidation()
           
 
Method Summary
protected  String determineBranch(AttributedDocumentEvent event)
          Determines which branch, if any, within the branchMap should be used as the validation to take.
 
Methods inherited from class org.kuali.kfs.sys.document.validation.BranchingValidation
getBranchMap, getParameterProperties, setBranchMap, setParameterProperties, setShouldQuitOnFail, shouldQuitOnFail, stageValidation, validate
 
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation
populateParameterFromEvent, populateParametersFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_DEFAULT_ACCOUNTING_LINE_ACCESSIBLE

protected static final String USE_DEFAULT_ACCOUNTING_LINE_ACCESSIBLE
See Also:
Constant Field Values
Constructor Detail

PaymentRequestAccountingLineAccessibleBranchingValidation

public PaymentRequestAccountingLineAccessibleBranchingValidation()
Method Detail

determineBranch

protected String determineBranch(AttributedDocumentEvent event)
Description copied from class: BranchingValidation
Determines which branch, if any, within the branchMap should be used as the validation to take.

Specified by:
determineBranch in class BranchingValidation
Parameters:
event - the event which triggered this validation
Returns:
the name of the branch to take, or a null or empty string to not take any branch and simply pass validation as true


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