|
||||||||||
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.SalaryExpenseTransferSalaryObjectCodeValidation
public class SalaryExpenseTransferSalaryObjectCodeValidation
Validates that an accounting line has salary object code
Constructor Summary | |
---|---|
SalaryExpenseTransferSalaryObjectCodeValidation()
|
Method Summary | |
---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute. |
protected boolean |
isSalaryObjectCode(AccountingLine accountingLine)
Checks whether the given AccountingLine's Object Code is a salary object code. |
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Validates that an accounting line does not have a salary object code 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 SalaryExpenseTransferSalaryObjectCodeValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.validation.Validation#validate(java.lang.Object[])
protected boolean isSalaryObjectCode(AccountingLine accountingLine)
accountingLine
- The accounting line the salary 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 |