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

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

public class PurchasingAccountsPayableExtendedPriceNonZeroBranchingValidation
extends BranchingValidation


Field Summary
 
Fields inherited from class org.kuali.kfs.sys.document.validation.BranchingValidation
branchMap, parameterProperties, shouldQuitOnFail
 
Constructor Summary
PurchasingAccountsPayableExtendedPriceNonZeroBranchingValidation()
           
 
Method Summary
protected  String determineBranch(AttributedDocumentEvent event)
          Determines which branch, if any, within the branchMap should be used as the validation to take.
 PurApItem getItemForValidation()
           
 void setItemForValidation(PurApItem itemForValidation)
           
 
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
 

Constructor Detail

PurchasingAccountsPayableExtendedPriceNonZeroBranchingValidation

public PurchasingAccountsPayableExtendedPriceNonZeroBranchingValidation()
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

getItemForValidation

public PurApItem getItemForValidation()

setItemForValidation

public void setItemForValidation(PurApItem itemForValidation)


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