|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.ld.document.validation.impl.BenefitExpenseTransferFringeBenefitObjectCodeValidation
public class BenefitExpenseTransferFringeBenefitObjectCodeValidation
Validates that an accounting line has fringe benefit object code
Constructor Summary | |
---|---|
BenefitExpenseTransferFringeBenefitObjectCodeValidation()
|
Method Summary | |
---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute. |
protected boolean |
isFringeBenefitObjectCode(AccountingLine accountingLine)
Checks whether the given AccountingLine's Object Code is a fringe benefit object code. |
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
only fringe benefit labor object codes are allowed on the benefit expense transfer document Expects an accounting line as the first a parameter |
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 |
Constructor Detail |
---|
public BenefitExpenseTransferFringeBenefitObjectCodeValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.validation.Validation#validate(java.lang.Object[])
protected boolean isFringeBenefitObjectCode(AccountingLine accountingLine)
accountingLine
- The accounting line the fringe benefit object code will be retrieved from.
public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation
- The accountingLineForValidation to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |