org.kuali.kfs.sys.document.validation.impl
Class AccountingLineBranchingValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.BranchingValidation
org.kuali.kfs.sys.document.validation.impl.AccountingLineBranchingValidation
- All Implemented Interfaces:
- Validation
public class AccountingLineBranchingValidation
- extends BranchingValidation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_NEW_LINE
public static final String IS_NEW_LINE
- See Also:
- Constant Field Values
IS_OLD_LINE
public static final String IS_OLD_LINE
- See Also:
- Constant Field Values
accountingLineForValidation
protected AccountingLine accountingLineForValidation
AccountingLineBranchingValidation
public AccountingLineBranchingValidation()
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
getAccountingLineForValidation
public AccountingLine getAccountingLineForValidation()
- Gets the accountingLineForValidation attribute.
- Returns:
- Returns the accountingLineForValidation.
setAccountingLineForValidation
public void setAccountingLineForValidation(AccountingLine accountingLine)
- Sets the accountingLineForValidation attribute value.
- Parameters:
accountingLineForValidation
- The accountingLineForValidation to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.