|
||||||||||
| 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.BenefitExpenseTransferSameAccountValidation
public class BenefitExpenseTransferSameAccountValidation
Validates that the given accounting line and source lines are the same
| Constructor Summary | |
|---|---|
BenefitExpenseTransferSameAccountValidation()
|
|
| Method Summary | |
|---|---|
AccountingLine |
getAccountingLineForValidation()
Gets the accountingLineForValidation attribute. |
org.kuali.rice.kns.document.Document |
getDocumentForValidation()
Gets the DocumentForValidation attribute. |
boolean |
hasSameAccount(org.kuali.rice.kns.document.Document document,
AccountingLine accountingLine)
Determines whether the given accounting line has the same account as the source accounting lines |
void |
setAccountingLineForValidation(AccountingLine accountingLineForValidation)
Sets the accountingLineForValidation attribute value. |
void |
setDocumentForValidation(org.kuali.rice.kns.document.Document documentForValidation)
Sets the accountingDocumentForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Validates that the given accounting lines in the accounting document have the same account as the source accounting lines. |
| 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 BenefitExpenseTransferSameAccountValidation()
| Method Detail |
|---|
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.validation.Validation#validate(java.lang.Object[])
public boolean hasSameAccount(org.kuali.rice.kns.document.Document document,
AccountingLine accountingLine)
document - the given documentaccountingLine - the given accounting line
public void setDocumentForValidation(org.kuali.rice.kns.document.Document documentForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.public org.kuali.rice.kns.document.Document getDocumentForValidation()
public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||