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

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

public class PurchasingAccountsPayableItemConsideredEnteredBranchingValidation
extends BranchingValidation


Field Summary
static String NEEDS_INDIVIDUAL_ITEM_VALIDATION
           
 
Fields inherited from class org.kuali.kfs.sys.document.validation.BranchingValidation
branchMap, parameterProperties, shouldQuitOnFail
 
Constructor Summary
PurchasingAccountsPayableItemConsideredEnteredBranchingValidation()
           
 
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
 

Field Detail

NEEDS_INDIVIDUAL_ITEM_VALIDATION

public static final String NEEDS_INDIVIDUAL_ITEM_VALIDATION
See Also:
Constant Field Values
Constructor Detail

PurchasingAccountsPayableItemConsideredEnteredBranchingValidation

public PurchasingAccountsPayableItemConsideredEnteredBranchingValidation()
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.